fix: use constrained foreign key for files track_type

This commit is contained in:
jo 2022-06-08 16:31:01 +02:00 committed by Kyle Robbertze
parent bcaea16c19
commit db976881f0
26 changed files with 1233 additions and 113 deletions

View file

@ -54,7 +54,7 @@ class Application_Model_StoredFile
'cueout' => 'DbCueOut',
'description' => 'DbDescription',
'artwork' => 'DbArtwork',
'track_type' => 'DbTrackType',
'track_type_id' => 'DbTrackTypeId',
];
public function __construct($file, $con)
@ -678,7 +678,7 @@ SQL;
'bit_rate', 'sample_rate', 'isrc_number', 'encoded_by', 'label',
'copyright', 'mime', 'language', 'filepath', 'owner_id',
'conductor', 'replay_gain', 'lptime', 'is_playlist', 'is_scheduled',
'cuein', 'cueout', 'description', 'artwork', 'track_type',
'cuein', 'cueout', 'description', 'artwork', 'track_type_id',
];
}