fix(legacy): remove not null contraint when using default

This fixes the inital schema creation to match as if the old migrations
were always run.

The third_party_track_references.file_id field should not have a not
null constraint while have a default value to 0.
This commit is contained in:
jo 2022-06-05 23:19:03 +02:00 committed by Kyle Robbertze
parent f7bb6e7592
commit 28b9343c77
6 changed files with 8 additions and 8 deletions

View file

@ -7005,7 +7005,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
$this->thirdPartyTrackReferencessScheduledForDeletion = clone $this->collThirdPartyTrackReferencess;
$this->thirdPartyTrackReferencessScheduledForDeletion->clear();
}
$this->thirdPartyTrackReferencessScheduledForDeletion[]= clone $thirdPartyTrackReferences;
$this->thirdPartyTrackReferencessScheduledForDeletion[]= $thirdPartyTrackReferences;
$thirdPartyTrackReferences->setCcFiles(null);
}