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", "Gravity Falls");
INSERT INTO "Cartoon" VALUES ("4", "Steven Universe");
INSERT INTO "Cartoon" VALUES ("5", "The Simpsons");
INSERT INTO "TV_Channel" VALUES ("CH001", "Sky Radio", "Music and entertainment", "Premium");
INSERT INTO "TV_Channel" VALUES ("CH002", "Ocean View", "Nature documentaries", "Basic");
INSERT INTO "TV_Channel" VALUES ("CH003", "History Hub", "Historical series and documentaries", "Standard");
INSERT INTO "TV_Channel" VALUES ("CH004", "Sky Radio", "News and talk shows", "Basic");
INSERT INTO "TV_Channel" VALUES ("CH005", "Kids Zone", "Children's cartoons", "Family");
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");