SAAS-223: Airtime Usage Metric: Amount of time spent broadcasting

-created cc_live_log table
This commit is contained in:
denise 2012-05-08 19:31:56 -04:00
parent 4165bf6289
commit e347819c77
13 changed files with 2207 additions and 0 deletions

View file

@ -554,6 +554,26 @@ CREATE TABLE "cc_service_register"
COMMENT ON TABLE "cc_service_register" IS '';
SET search_path TO public;
-----------------------------------------------------------------------------
-- cc_live_log
-----------------------------------------------------------------------------
DROP TABLE "cc_live_log" CASCADE;
CREATE TABLE "cc_live_log"
(
"id" serial NOT NULL,
"state" VARCHAR(32) NOT NULL,
"start_time" TIMESTAMP NOT NULL,
"end_time" TIMESTAMP,
PRIMARY KEY ("id")
);
COMMENT ON TABLE "cc_live_log" IS '';
SET search_path TO public;
ALTER TABLE "cc_access" ADD CONSTRAINT "cc_access_owner_fkey" FOREIGN KEY ("owner") REFERENCES "cc_subjs" ("id");