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 "Match" (
"id" INT,
"home_team_api_id" INT,
"away_team_api_id" INT,
PRIMARY KEY ("id")
);

CREATE TABLE "Team" (
"id" INT,
"team_long_name" TEXT,
"team_short_name" TEXT,
PRIMARY KEY ("id")
);

CREATE TABLE "Team_Attributes" (
"id" INT,
"team_api_id" INT,
PRIMARY KEY ("id")
);



INSERT INTO "Match" VALUES ("1", "1001", "1002");
INSERT INTO "Match" VALUES ("2", "1003", "1004");
INSERT INTO "Match" VALUES ("3", "1005", "1001");
INSERT INTO "Match" VALUES ("4", "1002", "1003");
INSERT INTO "Match" VALUES ("5", "1004", "1005");
INSERT INTO "Match" VALUES ("6", "1006", "1007");
INSERT INTO "Match" VALUES ("7", "1008", "1009");
INSERT INTO "Team" VALUES ("1001", "Genoa Cricket and Football Club", "GEN");
INSERT INTO "Team" VALUES ("1002", "Juventus Football Club", "JUV");
INSERT INTO "Team" VALUES ("1003", "AC Milan", "MIL");
INSERT INTO "Team" VALUES ("1004", "Inter Milan", "INT");
INSERT INTO "Team" VALUES ("1005", "AS Roma", "ROM");
INSERT INTO "Team" VALUES ("1006", "SSC Napoli", "NAP");
INSERT INTO "Team" VALUES ("1007", "Lazio", "LAZ");
INSERT INTO "Team" VALUES ("1008", "Fiorentina", "FIO");
INSERT INTO "Team" VALUES ("1009", "Torino", "TOR");
INSERT INTO "Team" VALUES ("1010", "Sampdoria", "SAM");
INSERT INTO "Team_Attributes" VALUES ("1", "1001");
INSERT INTO "Team_Attributes" VALUES ("2", "1002");
INSERT INTO "Team_Attributes" VALUES ("3", "1003");
INSERT INTO "Team_Attributes" VALUES ("4", "1004");
INSERT INTO "Team_Attributes" VALUES ("5", "1005");
INSERT INTO "Team_Attributes" VALUES ("6", "1006");
INSERT INTO "Team_Attributes" VALUES ("7", "1007");