Projekt modellhez alapértelmezett oszlop hozzáadása

This commit is contained in:
2026-06-12 09:10:02 +02:00
parent 71305e49f9
commit ad46429aa9
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -47,6 +47,7 @@ class AppDatabase {
crs TEXT NOT NULL DEFAULT 'eov',
color TEXT NOT NULL DEFAULT '#185FA5',
status TEXT NOT NULL DEFAULT 'active',
is_default INTEGER NOT NULL DEFAULT 0,
is_local_only INTEGER NOT NULL DEFAULT 1,
last_synced_at TEXT,
created_at TEXT NOT NULL,
@@ -157,6 +158,7 @@ class AppDatabase {
await db.insert('projects', {
'uuid': const Uuid().v4(),
'name': 'Alapértelmezett projekt',
'is_default': true,
'is_local_only': 0,
'status': 'active',
'created_at': now,