removed cc_show_schedule table.
This commit is contained in:
parent
fae1401568
commit
0152514ef3
8 changed files with 19 additions and 320 deletions
|
@ -235,26 +235,6 @@ CREATE TABLE "cc_show_hosts"
|
|||
COMMENT ON TABLE "cc_show_hosts" IS '';
|
||||
|
||||
|
||||
SET search_path TO public;
|
||||
-----------------------------------------------------------------------------
|
||||
-- cc_show_schedule
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
DROP TABLE "cc_show_schedule" CASCADE;
|
||||
|
||||
|
||||
CREATE TABLE "cc_show_schedule"
|
||||
(
|
||||
"id" serial NOT NULL,
|
||||
"instance_id" INTEGER NOT NULL,
|
||||
"position" INTEGER,
|
||||
"group_id" INTEGER NOT NULL,
|
||||
PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
COMMENT ON TABLE "cc_show_schedule" IS '';
|
||||
|
||||
|
||||
SET search_path TO public;
|
||||
-----------------------------------------------------------------------------
|
||||
-- cc_playlist
|
||||
|
@ -492,8 +472,6 @@ ALTER TABLE "cc_show_hosts" ADD CONSTRAINT "cc_perm_show_fkey" FOREIGN KEY ("sho
|
|||
|
||||
ALTER TABLE "cc_show_hosts" ADD CONSTRAINT "cc_perm_host_fkey" FOREIGN KEY ("subjs_id") REFERENCES "cc_subjs" ("id") ON DELETE CASCADE;
|
||||
|
||||
ALTER TABLE "cc_show_schedule" ADD CONSTRAINT "cc_show_inst_fkey" FOREIGN KEY ("instance_id") REFERENCES "cc_show_instances" ("id") ON DELETE CASCADE;
|
||||
|
||||
ALTER TABLE "cc_playlist" ADD CONSTRAINT "cc_playlist_editedby_fkey" FOREIGN KEY ("editedby") REFERENCES "cc_subjs" ("id");
|
||||
|
||||
ALTER TABLE "cc_playlistcontents" ADD CONSTRAINT "cc_playlistcontents_file_id_fkey" FOREIGN KEY ("file_id") REFERENCES "cc_files" ("id") ON DELETE CASCADE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue