aboutsummaryrefslogtreecommitdiff
path: root/haunt/jakob/dynamic/schema-gallery.sql
diff options
context:
space:
mode:
authorJakob L. Kreuze2023-02-12 14:50:42 -0500
committerJakob L. Kreuze2023-02-12 14:50:42 -0500
commit4b8de0bcf0ca598804a9d462933d492232b4b314 (patch)
treec0dc84333273faa56915f90b27865b2374679de4 /haunt/jakob/dynamic/schema-gallery.sql
parent8e2abe9549360f37f6703bd995b8278e4fb6b291 (diff)
Merge branch 'self-hosted-comments'
It's been working well enough. I think it's time to get the initial version of this on `master'.
Diffstat (limited to 'haunt/jakob/dynamic/schema-gallery.sql')
-rw-r--r--haunt/jakob/dynamic/schema-gallery.sql18
1 files changed, 18 insertions, 0 deletions
diff --git a/haunt/jakob/dynamic/schema-gallery.sql b/haunt/jakob/dynamic/schema-gallery.sql
new file mode 100644
index 0000000..bad4100
--- /dev/null
+++ b/haunt/jakob/dynamic/schema-gallery.sql
@@ -0,0 +1,18 @@
+CREATE TABLE IF NOT EXISTS galleries (
+ id SERIAL,
+ vanity char(12) NOT NULL,
+ title varchar(128),
+ description varchar(4096) NOT NULL,
+ datetime timestamp with time zone NOT NULL,
+ PRIMARY KEY (id)
+);
+
+CREATE TABLE IF NOT EXISTS images (
+ id SERIAL,
+ vanity char(12) NOT NULL,
+ title varchar(128),
+ filename varchar(64) NOT NULL,
+ thumb_filename varchar(64) NOT NULL,
+ datetime timestamp with time zone NOT NULL,
+ PRIMARY KEY (id)
+);

© 2015 - 2026 Jakob L. Kreuze