summaryrefslogtreecommitdiff
path: root/sql/tables
diff options
context:
space:
mode:
authorckonstanski <carlos.konstanski@olo.com>2024-05-27 14:52:07 -0600
committerckonstanski <carlos.konstanski@olo.com>2024-05-27 14:52:07 -0600
commite30ee019294e2abbbd3644b73e4327ae17df4392 (patch)
tree44d03581f96d81e0990f0664c01e725de542e9c2 /sql/tables
parent42e351bb04d38b01a1d5b251cdbc0caaa4be3712 (diff)
gallery
Diffstat (limited to 'sql/tables')
-rw-r--r--sql/tables/general.gallery.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/tables/general.gallery.sql b/sql/tables/general.gallery.sql
new file mode 100644
index 0000000..63b3172
--- /dev/null
+++ b/sql/tables/general.gallery.sql
@@ -0,0 +1,11 @@
+drop table general.gallery cascade;
+
+create table general.gallery (
+ id serial8 primary key,
+ description text,
+ filename character varying(255) not null,
+ mime_type character varying(255) not null,
+ content bytea not null,
+ created timestamp without time zone not null default now(),
+ modified timestamp without time zone not null default now()
+);