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 "Charges" (
"charge_id" INT,
"charge_type" VARCHAR(10),
"charge_amount" DECIMAL(19, 4),
PRIMARY KEY ("charge_id")
);

CREATE TABLE "Treatment_Types" (
"treatment_type_code" VARCHAR(10),
"treatment_type_description" VARCHAR(80),
PRIMARY KEY ("treatment_type_code")
);

CREATE TABLE "Treatments" (
"treatment_id" INT,
"cost_of_treatment" DECIMAL(19, 4),
PRIMARY KEY ("treatment_id")
);





INSERT INTO "Charges" VALUES ("1", "Boarding", "45.0000");
INSERT INTO "Charges" VALUES ("2", "Grooming", "60.5000");
INSERT INTO "Charges" VALUES ("3", "Training", "75.2500");
INSERT INTO "Charges" VALUES ("4", "Vaccination", "75.2500");
INSERT INTO "Charges" VALUES ("5", "Daycare", "30.0000");
INSERT INTO "Charges" VALUES ("6", "Walking", "20.0000");
INSERT INTO "Charges" VALUES ("7", "Special Care", "100.0000");
INSERT INTO "Charges" VALUES ("8", "Emergency", "100.0000");
INSERT INTO "Charges" VALUES ("9", "Consultation", "50.0000");
INSERT INTO "Charges" VALUES ("10", "Medication", "85.7500");