CC-1665: Scheduled stream rebroadcasting and recording

-Webstreams now appearing in the library
This commit is contained in:
Martin Konecny 2012-07-18 18:27:39 -04:00
parent d0e4ad1334
commit a16a1f5033
16 changed files with 2508 additions and 11 deletions

View file

@ -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");