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:
parent
f7bb6e7592
commit
28b9343c77
6 changed files with 8 additions and 8 deletions
|
@ -3315,7 +3315,7 @@ abstract class BaseCcFilesQuery extends ModelCriteria
|
|||
*
|
||||
* @return CcFilesQuery The current query, for fluid interface
|
||||
*/
|
||||
public function joinThirdPartyTrackReferences($relationAlias = null, $joinType = Criteria::INNER_JOIN)
|
||||
public function joinThirdPartyTrackReferences($relationAlias = null, $joinType = Criteria::LEFT_JOIN)
|
||||
{
|
||||
$tableMap = $this->getTableMap();
|
||||
$relationMap = $tableMap->getRelation('ThirdPartyTrackReferences');
|
||||
|
@ -3350,7 +3350,7 @@ abstract class BaseCcFilesQuery extends ModelCriteria
|
|||
*
|
||||
* @return ThirdPartyTrackReferencesQuery A secondary query class using the current class as primary query
|
||||
*/
|
||||
public function useThirdPartyTrackReferencesQuery($relationAlias = null, $joinType = Criteria::INNER_JOIN)
|
||||
public function useThirdPartyTrackReferencesQuery($relationAlias = null, $joinType = Criteria::LEFT_JOIN)
|
||||
{
|
||||
return $this
|
||||
->joinThirdPartyTrackReferences($relationAlias, $joinType)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue