CC-84: Smart Playlists
- db schema change for type column on playlistcontents
This commit is contained in:
parent
40bd33df11
commit
a51b04e422
6 changed files with 144 additions and 42 deletions
|
@ -239,6 +239,12 @@
|
|||
<column name="playlist_id" phpName="DbPlaylistId" type="INTEGER" required="false"/>
|
||||
<column name="file_id" phpName="DbFileId" type="INTEGER" required="false"/>
|
||||
<column name="block_id" phpName="DbBlockId" type="INTEGER" required="false"/>
|
||||
<!-- What type of item is stored in the playlist.
|
||||
0: audiotrack
|
||||
1: webstream
|
||||
2: block
|
||||
-->
|
||||
<column name="type" phpName="DbType" type="SMALLINT" required="true" default="0"/>
|
||||
<column name="position" phpName="DbPosition" type="INTEGER" required="false"/>
|
||||
<column name="cliplength" phpName="DbCliplength" type="VARCHAR" sqlType="interval" required="false" defaultValue="00:00:00"/>
|
||||
<column name="cuein" phpName="DbCuein" type="VARCHAR" sqlType="interval" required="false" defaultValue="00:00:00"/>
|
||||
|
|
|
@ -322,6 +322,7 @@ CREATE TABLE "cc_playlistcontents"
|
|||
"playlist_id" INTEGER,
|
||||
"file_id" INTEGER,
|
||||
"block_id" INTEGER,
|
||||
"type" INT2 default 0 NOT NULL,
|
||||
"position" INTEGER,
|
||||
"cliplength" interval default '00:00:00',
|
||||
"cuein" interval default '00:00:00',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue