SAAS-223: Airtime Usage Metric: Amount of time spent broadcasting
-created cc_live_log table
This commit is contained in:
parent
4165bf6289
commit
e347819c77
13 changed files with 2207 additions and 0 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue