fix: Drop invalid SetNull and SetDefault test models (#165)
Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Marcelo Mendonça Soares <marcelomendoncasoares@users.noreply.github.com>
This commit is contained in:
parent
f59a90bc97
commit
e12c9dc9f0
5 changed files with 21344 additions and 4036 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"__className__": "serverpod.DatabaseMigration",
|
||||
"actions": [
|
||||
{
|
||||
"__className__": "serverpod.DatabaseMigrationAction",
|
||||
"type": "deleteTable",
|
||||
"deleteTable": "required_set_null_child"
|
||||
},
|
||||
{
|
||||
"__className__": "serverpod.DatabaseMigrationAction",
|
||||
"type": "deleteTable",
|
||||
"deleteTable": "nullable_set_default_child"
|
||||
}
|
||||
],
|
||||
"warnings": [
|
||||
{
|
||||
"__className__": "serverpod.DatabaseMigrationWarning",
|
||||
"type": "tableDropped",
|
||||
"message": "Table \"required_set_null_child\" will be dropped.",
|
||||
"table": "required_set_null_child",
|
||||
"columns": [],
|
||||
"destrucive": true
|
||||
},
|
||||
{
|
||||
"__className__": "serverpod.DatabaseMigrationWarning",
|
||||
"type": "tableDropped",
|
||||
"message": "Table \"nullable_set_default_child\" will be dropped.",
|
||||
"table": "nullable_set_default_child",
|
||||
"columns": [],
|
||||
"destrucive": true
|
||||
}
|
||||
],
|
||||
"migrationApiVersion": 1
|
||||
}
|
||||
|
|
@ -15,6 +15,7 @@ part '20260907170602693/migration.dart';
|
|||
part '20260914144112288/migration.dart';
|
||||
part '20260914165608984/migration.dart';
|
||||
part '20260930185557154/migration.dart';
|
||||
part '20261007215503877/migration.dart';
|
||||
|
||||
/// Migration registry for the client-side database.
|
||||
class MigrationRegistry {
|
||||
|
|
@ -32,6 +33,7 @@ class MigrationRegistry {
|
|||
_Migration20260914144112288(),
|
||||
_Migration20260914165608984(),
|
||||
_Migration20260930185557154(),
|
||||
_Migration20261007215503877(),
|
||||
];
|
||||
|
||||
/// List of all client-side database migration versions.
|
||||
|
|
|
|||
Loading…
Reference in a new issue