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", "1000", "1001");
INSERT INTO "Match" VALUES ("2", "1002", "1003");
INSERT INTO "Match" VALUES ("3", "1004", "1005");
INSERT INTO "Match" VALUES ("4", "1006", "1007");
INSERT INTO "Match" VALUES ("5", "1008", "1009");
INSERT INTO "Match" VALUES ("6", "1010", "1011");
INSERT INTO "Match" VALUES ("7", "1012", "1013");
INSERT INTO "Match" VALUES ("8", "1014", "1015");
INSERT INTO "Match" VALUES ("9", "1016", "1017");
INSERT INTO "Match" VALUES ("10", "1018", "1019");
INSERT INTO "Team" VALUES ("1", "Queens Park Rangers", "QPR");
INSERT INTO "Team" VALUES ("2", "Manchester United", "MUN");
INSERT INTO "Team" VALUES ("3", "Chelsea", "CHE");
INSERT INTO "Team" VALUES ("4", "Arsenal", "ARS");
INSERT INTO "Team" VALUES ("5", "Liverpool", "LIV");
INSERT INTO "Team" VALUES ("6", "Tottenham Hotspur", "TOT");
INSERT INTO "Team" VALUES ("7", "Everton", "EVE");
INSERT INTO "Team" VALUES ("8", "Leicester City", "LEI");
INSERT INTO "Team" VALUES ("9", "West Ham United", "WHU");
INSERT INTO "Team" VALUES ("10", "Southampton", "SOU");
INSERT INTO "Team" VALUES ("11", "Crystal Palace", "CRY");
INSERT INTO "Team" VALUES ("12", "Stoke City", "STK");
INSERT INTO "Team" VALUES ("13", "Sunderland", "SUN");
INSERT INTO "Team" VALUES ("14", "Swansea City", "SWA");
INSERT INTO "Team" VALUES ("15", "Watford", "WAT");
INSERT INTO "Team" VALUES ("16", "Bournemouth", "BOU");
INSERT INTO "Team" VALUES ("17", "Burnley", "BUR");
INSERT INTO "Team" VALUES ("18", "Hull City", "HUL");
INSERT INTO "Team" VALUES ("19", "Middlesbrough", "MID");
INSERT INTO "Team" VALUES ("20", "West Bromwich Albion", "WBA");
INSERT INTO "Team_Attributes" VALUES ("1", "1");
INSERT INTO "Team_Attributes" VALUES ("2", "2");
INSERT INTO "Team_Attributes" VALUES ("3", "3");
INSERT INTO "Team_Attributes" VALUES ("4", "4");
INSERT INTO "Team_Attributes" VALUES ("5", "5");
INSERT INTO "Team_Attributes" VALUES ("6", "6");
INSERT INTO "Team_Attributes" VALUES ("7", "7");
INSERT INTO "Team_Attributes" VALUES ("8", "8");
INSERT INTO "Team_Attributes" VALUES ("9", "9");
INSERT INTO "Team_Attributes" VALUES ("10", "10");