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



INSERT INTO "circuits" VALUES ("1", "Silverstone Circuit", "Silverstone", "UK", "52.0786", "-1.01694");
INSERT INTO "circuits" VALUES ("2", "Hockenheimring", "Hockenheim", "Germany", "49.3278", "8.56583");
INSERT INTO "circuits" VALUES ("3", "Hungaroring", "Mogyoród", "Hungary", "47.5789", "19.2511");
INSERT INTO "circuits" VALUES ("4", "Monza", "Monza", "Italy", "45.6156", "9.28111");
INSERT INTO "circuits" VALUES ("5", "Circuit de Spa-Francorchamps", "Stavelot", "Belgium", "50.4372", "5.97139");
INSERT INTO "circuits" VALUES ("6", "Circuit de Monaco", "Monte Carlo", "Monaco", "43.7347", "7.42056");
INSERT INTO "circuits" VALUES ("7", "Suzuka Circuit", "Suzuka", "Japan", "34.8431", "136.538");
INSERT INTO "circuits" VALUES ("8", "Circuit of the Americas", "Austin", "USA", "30.1328", "-97.6411");
INSERT INTO "circuits" VALUES ("9", "Yas Marina Circuit", "Abu Dhabi", "UAE", "24.4672", "54.6031");
INSERT INTO "circuits" VALUES ("10", "Interlagos Circuit", "São Paulo", "Brazil", "-23.7036", "-46.6997");