X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=sql%2Fpr0n.sql;h=cd528e6600858217e0286d92ef51ccfbdd17f9b8;hb=a08252beeb4a35f3561f6a052ea80a27ec9eba52;hp=c3b668985eaa2b9e2b32b3e4b7109599bde61c1f;hpb=6be9a26e71fc85e69cbbdbc95fc50d3569050921;p=pr0n diff --git a/sql/pr0n.sql b/sql/pr0n.sql index c3b6689..cd528e6 100644 --- a/sql/pr0n.sql +++ b/sql/pr0n.sql @@ -72,7 +72,7 @@ CREATE TABLE users ( ); CREATE TABLE exif_info ( - image integer NOT NULL REFERENCES images (id), + image integer NOT NULL REFERENCES images (id) ON DELETE CASCADE, tag varchar NOT NULL, value varchar NOT NULL,