File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,8 @@ private static function initSchema(Connection $connection): void
438
438
->column ('artist_id ' )->references ('artists ' )->comment ('@JsonKey("feat") @JsonInclude ' );
439
439
440
440
$ db ->table ('object_base ' )
441
- ->column ('id ' )->integer ()->primaryKey ()->autoIncrement ();
441
+ ->column ('id ' )->integer ()->primaryKey ()->autoIncrement ()
442
+ ->column ('label ' )->string ();
442
443
$ db ->table ('object_inherited ' )
443
444
->column ('id ' )->integer ()->primaryKey ()->autoIncrement ()
444
445
->column ('object_base_id ' )->references ('object_base ' )->unique ()->comment ('@JsonCollection ' );
Original file line number Diff line number Diff line change @@ -2086,7 +2086,7 @@ public function testOneToOneInverseRelationGetter(): void
2086
2086
{
2087
2087
$ objectBaseDao = new ObjectBaseDao ($ this ->tdbmService );
2088
2088
$ objectInheritedDao = new ObjectInheritedDao ($ this ->tdbmService );
2089
- $ objectBase = new ObjectBaseBean ();
2089
+ $ objectBase = new ObjectBaseBean (' label ' );
2090
2090
$ objectBaseDao ->save ($ objectBase );
2091
2091
$ this ->assertNull ($ objectBase ->getObjectInherited ());
2092
2092
$ objectInherited = new ObjectInheritedBean ($ objectBase );
You can’t perform that action at this time.
0 commit comments