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:
Marcelo Mendonça Soares 2026-10-08 18:21:10 -03:00 • committed by GitHub
commit e12c9dc9f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 21344 additions and 4036 deletions

View file

@ -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
}

View file

@ -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.