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