Move editor UI into the app and release verified Core dependencies (#14)
Gitea CI / Assemble and validate CI artifacts (push) Successful in 1m47s
Gitea CI / Check code and tests (push) Successful in 7m15s
Gitea CI / Build Android APK (push) Successful in 4m6s
Gitea CI / Build Windows x64 app (push) Successful in 3m34s
Gitea CI / Audit and package Windows x64 (push) Successful in 1m29s
Gitea CI / Gitea CI passed (push) Successful in 1s
Gitea Release / Prepare draft Release (push) Failing after 8s
Gitea Release / Upload Android to draft Release (push) Skipped
Gitea Release / Upload Windows to draft Release (push) Skipped
Gitea Release / Verify and publish Release (push) Skipped

This commit was merged in pull request #14.
This commit is contained in:
lingjhf committed 2026-10-11 19:59:40 +00:00
1 parent abc1868550
commit 06f1c26681
452 files changed
+43806 -2329

No files matched your search

+11 -4
View File
@@ -127,6 +127,7 @@ class ProjectViewConfigurations extends Table {
TextColumn get projectId => text()();
BoolColumn get propertiesOpen => boolean()();
RealColumn get timelineHeight => real().nullable()();
RealColumn get mediaWidth => real().nullable()();
@override
Set<Column<Object>> get primaryKey => {projectId};
@@ -169,13 +170,13 @@ class AppDatabase extends _$AppDatabase {
AppDatabase(super.executor);
@override
int get schemaVersion => 4;
int get schemaVersion => 5;
@override
MigrationStrategy get migration => MigrationStrategy(
onCreate: (migrator) => migrator.createAll(),
onUpgrade: (migrator, from, _) async {
if (from != 2 && from != 3) {
if (from < 2 || from > 4) {
throw StateError('Unsupported app database schema version: $from');
}
if (from == 2) {
@@ -184,9 +185,15 @@ class AppDatabase extends _$AppDatabase {
appearanceConfigurations.palette,
);
}
if (from < 4) {
await migrator.addColumn(
appearanceConfigurations,
appearanceConfigurations.timelineRulerLayout,
);
}
await migrator.addColumn(
appearanceConfigurations,
appearanceConfigurations.timelineRulerLayout,
projectViewConfigurations,
projectViewConfigurations.mediaWidth,
);
},
beforeOpen: (_) async {