new: add custom url-test for each repository
This commit is contained in:
@@ -21,7 +21,7 @@ class AppDatabase extends _$AppDatabase with InfraLogger {
|
||||
AppDatabase.connect() : super(openConnection());
|
||||
|
||||
@override
|
||||
int get schemaVersion => 3;
|
||||
int get schemaVersion => 4;
|
||||
|
||||
@override
|
||||
MigrationStrategy get migration {
|
||||
@@ -48,6 +48,9 @@ class AppDatabase extends _$AppDatabase with InfraLogger {
|
||||
await m.createTable(schema.geoAssetEntries);
|
||||
await _prePopulateGeoAssets();
|
||||
},
|
||||
from3To4: (m, schema) async {
|
||||
await m.addColumn(profileEntries, profileEntries.testUrl);
|
||||
},
|
||||
),
|
||||
beforeOpen: (details) async {
|
||||
if (kDebugMode) {
|
||||
|
||||
Reference in New Issue
Block a user