summaryrefslogtreecommitdiff
path: root/sql/tables
diff options
context:
space:
mode:
authorckonstanski <carlos.konstanski@olo.com>2024-05-27 16:57:01 -0600
committerckonstanski <carlos.konstanski@olo.com>2024-05-27 16:57:01 -0600
commitebd383b0e0a6168f99857126897b07395e24b41c (patch)
treeb3b37d7dda1d7562ece14e9c2396aa9cf6f72f30 /sql/tables
parent6f397b2cd6b825a105a06591aa30469aab767591 (diff)
embed youtobe videos
Diffstat (limited to 'sql/tables')
-rw-r--r--sql/tables/general.gallery.sql7
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/tables/general.gallery.sql b/sql/tables/general.gallery.sql
index 63b3172..972ae67 100644
--- a/sql/tables/general.gallery.sql
+++ b/sql/tables/general.gallery.sql
@@ -3,9 +3,10 @@ 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,
+ filename character varying(255),
+ mime_type character varying(255),
+ video_embed_url character varying(255),
+ content bytea,
created timestamp without time zone not null default now(),
modified timestamp without time zone not null default now()
);