blob: 98e6050cebad0b292b379d1e1f9c2420e0f229e3 (
plain) (
tree)
|
|
CREATE TABLE "photo_sets" (
"id" INTEGER NOT NULL,
"base" INTEGER NOT NULL,
"fullsize" INTEGER NOT NULL,
"thumbnail" INTEGER NOT NULL,
"original" INTEGER NOT NULL,
FOREIGN KEY("thumbnail") REFERENCES "photos"("id"),
FOREIGN KEY("original") REFERENCES "photos"("id"),
FOREIGN KEY("base") REFERENCES "photos"("id"),
FOREIGN KEY("fullsize") REFERENCES "photos"("id"),
PRIMARY KEY("id")
)
|