CREATE TABLE "ogrenci" ( "id" int PRIMARY KEY, "adi" varchar(255), "active" bool, "okul_id" int, FOREIGN KEY("okul_id") REFERENCES "okul" ("id") ); CREATE TABLE "okul" ( "okul_id" int PRIMARY KEY, "adi" varchar(255) );