fix: correct cc_file.artwork column size
This commit is contained in:
parent
6889e11a91
commit
980f1acd0c
5 changed files with 27 additions and 4 deletions
|
@ -106,7 +106,7 @@ class CcFilesTableMap extends TableMap
|
|||
$this->addColumn('is_playlist', 'DbIsPlaylist', 'BOOLEAN', false, null, false);
|
||||
$this->addColumn('filesize', 'DbFilesize', 'INTEGER', true, null, 0);
|
||||
$this->addColumn('description', 'DbDescription', 'VARCHAR', false, 512, null);
|
||||
$this->addColumn('artwork', 'DbArtwork', 'VARCHAR', false, 512, null);
|
||||
$this->addColumn('artwork', 'DbArtwork', 'VARCHAR', false, 4096, null);
|
||||
$this->addColumn('track_type', 'DbTrackType', 'VARCHAR', false, 16, null);
|
||||
// validators
|
||||
} // initialize()
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
<column name="is_playlist" phpName="DbIsPlaylist" type="BOOLEAN" defaultValue="false" />
|
||||
<column name="filesize" phpName="DbFilesize" type="Integer" required="true" defaultValue="0" />
|
||||
<column name="description" phpName="DbDescription" type="VARCHAR" size="512" />
|
||||
<column name="artwork" phpName="DbArtwork" type="VARCHAR" size="512" required="false" />
|
||||
<column name="artwork" phpName="DbArtwork" type="VARCHAR" size="4096" required="false" />
|
||||
<column name="track_type" phpName="DbTrackType" type="VARCHAR" size="16" required="false" />
|
||||
<foreign-key foreignTable="cc_subjs" phpName="FkOwner" name="cc_files_owner_fkey">
|
||||
<reference local="owner_id" foreign="id" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue