can add a new list item using the template.

set a default item template

working on sql to get a table with unified columns for file md and manually entered metadata without a file.
This commit is contained in:
Naomi 2013-07-30 19:24:05 -04:00
parent 06e21029d0
commit 7ca3048f36
13 changed files with 456 additions and 163 deletions

View file

@ -499,7 +499,8 @@
</table>
<table name="cc_playout_history_template" phpName="CcPlayoutHistoryTemplate">
<column name="id" phpName="DbId" primaryKey="true" type="INTEGER" autoIncrement="true" required="true" />
<column name="template_name" phpName="DbName" type="VARCHAR" size="128" required="true" />
<column name="name" phpName="DbName" type="VARCHAR" size="128" required="true" />
<column name="type" phpName="DbType" type="VARCHAR" size="35" required="true" />
</table>
<table name="cc_playout_history_template_field" phpName="CcPlayoutHistoryTemplateField">
<column name="id" phpName="DbId" primaryKey="true" type="INTEGER" autoIncrement="true" required="true" />

View file

@ -803,7 +803,8 @@ DROP TABLE "cc_playout_history_template" CASCADE;
CREATE TABLE "cc_playout_history_template"
(
"id" serial NOT NULL,
"template_name" VARCHAR(128) NOT NULL,
"name" VARCHAR(128) NOT NULL,
"type" VARCHAR(35) NOT NULL,
PRIMARY KEY ("id")
);