PRAGMA foreign_keys = ON;

PRAGMA writable_schema = 1;
DELETE FROM sqlite_master WHERE type IN ("table", "index", "trigger");
PRAGMA writable_schema = 0;
VACUUM;

CREATE TABLE "Cartoon" (
"id" FLOAT,
"Title" TEXT,
PRIMARY KEY ("id")
);

CREATE TABLE "TV_Channel" (
"id" TEXT,
"series_name" TEXT,
"Content" TEXT,
"Package_Option" TEXT,
PRIMARY KEY ("id")
);

CREATE TABLE "TV_series" (
"id" FLOAT,
"Episode" TEXT,
PRIMARY KEY ("id")
);





INSERT INTO "Cartoon" VALUES ("1", "Adventure Time");
INSERT INTO "Cartoon" VALUES ("2", "Rick and Morty");
INSERT INTO "Cartoon" VALUES ("3", "BoJack Horseman");
INSERT INTO "Cartoon" VALUES ("4", "Gravity Falls");
INSERT INTO "Cartoon" VALUES ("5", "Steven Universe");
INSERT INTO "TV_Channel" VALUES ("CH001", "Sky Radio", "Music", "Premium");
INSERT INTO "TV_Channel" VALUES ("CH002", "Sky Radio", "News", "Basic");
INSERT INTO "TV_Channel" VALUES ("CH003", "Ocean View", "Documentary", "NULL");
INSERT INTO "TV_Channel" VALUES ("CH004", "Sky Radio", "Sports", "Sports Pack");
INSERT INTO "TV_Channel" VALUES ("CH005", "Mountain TV", "Entertainment", "Basic");
INSERT INTO "TV_Channel" VALUES ("CH006", "City Lights", "Drama", "Premium");
INSERT INTO "TV_Channel" VALUES ("CH007", "Sky Radio", "Kids", "NULL");
INSERT INTO "TV_Channel" VALUES ("CH008", "Ocean View", "Music", "Music Pack");
INSERT INTO "TV_Channel" VALUES ("CH009", "Mountain TV", "News", "Basic");
INSERT INTO "TV_Channel" VALUES ("CH010", "City Lights", "Comedy", "Premium");
INSERT INTO "TV_series" VALUES ("101", "Episode 1");
INSERT INTO "TV_series" VALUES ("102", "Episode 2");
INSERT INTO "TV_series" VALUES ("103", "Episode 3");
INSERT INTO "TV_series" VALUES ("104", "Episode 4");
INSERT INTO "TV_series" VALUES ("105", "Episode 5");
INSERT INTO "TV_series" VALUES ("106", "Episode 6");
INSERT INTO "TV_series" VALUES ("107", "Episode 7");
INSERT INTO "TV_series" VALUES ("108", "Episode 8");
INSERT INTO "TV_series" VALUES ("109", "Episode 9");
INSERT INTO "TV_series" VALUES ("110", "Episode 10");