CC-1665: Scheduled stream rebroadcasting and recording
-Webstreams now appearing in the library
This commit is contained in:
parent
d0e4ad1334
commit
a16a1f5033
16 changed files with 2508 additions and 11 deletions
|
@ -427,4 +427,15 @@
|
|||
<column name="start_time" phpName="DbStartTime" type="TIMESTAMP" required="true" />
|
||||
<column name="end_time" phpName="DbEndTime" type="TIMESTAMP" required="false"/>
|
||||
</table>
|
||||
<table name="cc_webstream" phpName="CcWebstream">
|
||||
<column name="id" phpName="DbId" primaryKey="true" type="INTEGER" autoIncrement="true" required="true" />
|
||||
<column name="name" phpName="DbName" type="VARCHAR" size="255" required="true" />
|
||||
<!-- TODO, remove hardlimit on this column length? -->
|
||||
<column name="description" phpName="DbDescription" type="VARCHAR" size="255" required="true" />
|
||||
<column name="url" phpName="DbUrl" type="VARCHAR" size="255" required="true" />
|
||||
<column name="length" phpName="DbLength" type="VARCHAR" sqlType="interval" required="true" defaultValue="00:00:00"/>
|
||||
<column name="login" phpName="DbLogin" type="VARCHAR" size="255" required="true" />
|
||||
<column name="mtime" phpName="DbMtime" type="TIMESTAMP" size="6" required="true" />
|
||||
<column name="utime" phpName="DbUtime" type="TIMESTAMP" size="6" required="true" />
|
||||
</table>
|
||||
</database>
|
||||
|
|
|
@ -650,6 +650,30 @@ CREATE TABLE "cc_live_log"
|
|||
COMMENT ON TABLE "cc_live_log" IS '';
|
||||
|
||||
|
||||
SET search_path TO public;
|
||||
-----------------------------------------------------------------------------
|
||||
-- cc_webstream
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
DROP TABLE "cc_webstream" CASCADE;
|
||||
|
||||
|
||||
CREATE TABLE "cc_webstream"
|
||||
(
|
||||
"id" serial NOT NULL,
|
||||
"name" VARCHAR(255) NOT NULL,
|
||||
"description" VARCHAR(255) NOT NULL,
|
||||
"url" VARCHAR(255) NOT NULL,
|
||||
"length" interval default '00:00:00' NOT NULL,
|
||||
"login" VARCHAR(255) NOT NULL,
|
||||
"mtime" TIMESTAMP(6) NOT NULL,
|
||||
"utime" TIMESTAMP(6) NOT NULL,
|
||||
PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
COMMENT ON TABLE "cc_webstream" IS '';
|
||||
|
||||
|
||||
SET search_path TO public;
|
||||
ALTER TABLE "cc_access" ADD CONSTRAINT "cc_access_owner_fkey" FOREIGN KEY ("owner") REFERENCES "cc_subjs" ("id");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue