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 "circuits" (
"circuitId" INT,
"name" TEXT,
"country" TEXT,
"lat" FLOAT,
"lng" FLOAT,
PRIMARY KEY ("circuitId")
);



INSERT INTO "circuits" VALUES ("1", "Circuit of the Americas", "USA", "30.1328", "-97.6411");
INSERT INTO "circuits" VALUES ("2", "Indianapolis Motor Speedway", "USA", "39.7953", "-86.2347");
INSERT INTO "circuits" VALUES ("3", "Long Beach Street Circuit", "USA", "33.7631", "-118.2167");
INSERT INTO "circuits" VALUES ("4", "Watkins Glen International", "USA", "42.1709", "-76.9520");
INSERT INTO "circuits" VALUES ("5", "Las Vegas Street Circuit", "USA", "36.1215", "-115.1739");
INSERT INTO "circuits" VALUES ("6", "Silverstone Circuit", "UK", "52.0786", "-1.0169");
INSERT INTO "circuits" VALUES ("7", "Monza Circuit", "Italy", "45.6156", "9.2811");
INSERT INTO "circuits" VALUES ("8", "Suzuka Circuit", "Japan", "34.8431", "136.5410");
INSERT INTO "circuits" VALUES ("9", "Spa-Francorchamps", "Belgium", "50.4372", "5.9714");
INSERT INTO "circuits" VALUES ("10", "Marina Bay Street Circuit", "Singapore", "1.2914", "103.8645");