Added description field to cc_show_instances table
This commit is contained in:
parent
abc9481a58
commit
0a0c6911f8
|
@ -136,12 +136,13 @@
|
|||
<column name="is_linkable" phpName="DbIsLinkable" type="BOOLEAN" required="true" defaultValue="true" />
|
||||
<!-- A show is_linkable if it has never been linked before. Once a show becomes unlinked
|
||||
it can not be linked again -->
|
||||
<column name="image_path" phpName="DbImagePath" type="VARCHAR" size="255" required="false" />
|
||||
<column name="image_path" phpName="DbImagePath" type="VARCHAR" size="255" required="false" defaultValue=""/>
|
||||
<!-- Fully qualified path for the image associated with this show.
|
||||
Default is /path/to/stor/dir/:ownerId/show-images/:showId/imageName -->
|
||||
</table>
|
||||
<table name="cc_show_instances" phpName="CcShowInstances">
|
||||
<column name="id" phpName="DbId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
|
||||
<column name="description" phpName="DbDescription" type="VARCHAR" size="512" required="false" defaultValue=""/>
|
||||
<column name="starts" phpName="DbStarts" type="TIMESTAMP" required="true"/>
|
||||
<column name="ends" phpName="DbEnds" type="TIMESTAMP" required="true"/>
|
||||
<column name="show_id" phpName="DbShowId" type="INTEGER" required="true"/>
|
||||
|
|
|
@ -176,6 +176,7 @@ DROP TABLE "cc_show_instances" CASCADE;
|
|||
CREATE TABLE "cc_show_instances"
|
||||
(
|
||||
"id" serial NOT NULL,
|
||||
"description" VARCHAR(512),
|
||||
"starts" TIMESTAMP NOT NULL,
|
||||
"ends" TIMESTAMP NOT NULL,
|
||||
"show_id" INTEGER NOT NULL,
|
||||
|
|
Loading…
Reference in New Issue