aboutsummaryrefslogtreecommitdiff
path: root/initialize.sql
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-12-21 22:26:00 +0100
committerPřemysl Eric Janouch <p@janouch.name>2023-12-21 22:26:00 +0100
commit2b5e3bd4eade8010c036633e5c69a2ce79a5ba15 (patch)
treef66f13a57b8a7cb5355783be5846e93840c6c42f /initialize.sql
parentb1bc65c9a17dad6336826e7b87b5877ca6d0bc6f (diff)
downloadgallery-2b5e3bd4eade8010c036633e5c69a2ce79a5ba15.tar.gz
gallery-2b5e3bd4eade8010c036633e5c69a2ce79a5ba15.tar.xz
gallery-2b5e3bd4eade8010c036633e5c69a2ce79a5ba15.zip
WIP: FS to DB sync
Diffstat (limited to 'initialize.sql')
-rw-r--r--initialize.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/initialize.sql b/initialize.sql
index 60b50f0..f439953 100644
--- a/initialize.sql
+++ b/initialize.sql
@@ -49,7 +49,7 @@ END;
CREATE TABLE IF NOT EXISTS orphan(
sha1 TEXT NOT NULL REFERENCES image(sha1)
- path TEXT NOT NULL,
+ path TEXT NOT NULL, -- last occurence within the database hierarchy
PRIMARY KEY (sha1)
) STRICT;