new: add custom url-test for each repository

This commit is contained in:
hiddify-com
2024-07-29 13:11:51 +02:00
parent ccbc416c49
commit b9afe586bf
14 changed files with 417 additions and 157 deletions

View File

@@ -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) {