session and activity delete
This commit is contained in:
@ -7,6 +7,8 @@ import 'schema_v1.dart' as v1;
|
||||
import 'schema_v2.dart' as v2;
|
||||
import 'schema_v3.dart' as v3;
|
||||
import 'schema_v4.dart' as v4;
|
||||
import 'schema_v5.dart' as v5;
|
||||
import 'schema_v6.dart' as v6;
|
||||
|
||||
class GeneratedHelper implements SchemaInstantiationHelper {
|
||||
@override
|
||||
@ -20,10 +22,14 @@ class GeneratedHelper implements SchemaInstantiationHelper {
|
||||
return v3.DatabaseAtV3(db);
|
||||
case 4:
|
||||
return v4.DatabaseAtV4(db);
|
||||
case 5:
|
||||
return v5.DatabaseAtV5(db);
|
||||
case 6:
|
||||
return v6.DatabaseAtV6(db);
|
||||
default:
|
||||
throw MissingSchemaException(version, versions);
|
||||
}
|
||||
}
|
||||
|
||||
static const versions = const [1, 2, 3, 4];
|
||||
static const versions = const [1, 2, 3, 4, 5, 6];
|
||||
}
|
||||
|
2012
test/drift/sendtrain/generated/schema_v5.dart
Normal file
2012
test/drift/sendtrain/generated/schema_v5.dart
Normal file
File diff suppressed because it is too large
Load Diff
2012
test/drift/sendtrain/generated/schema_v6.dart
Normal file
2012
test/drift/sendtrain/generated/schema_v6.dart
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user