diff options
| author | Jakob L. Kreuze | 2023-02-12 14:50:42 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze | 2023-02-12 14:50:42 -0500 |
| commit | 4b8de0bcf0ca598804a9d462933d492232b4b314 (patch) | |
| tree | c0dc84333273faa56915f90b27865b2374679de4 /dynamic/schema-rsvp.sql | |
| parent | 8e2abe9549360f37f6703bd995b8278e4fb6b291 (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 'dynamic/schema-rsvp.sql')
| -rw-r--r-- | dynamic/schema-rsvp.sql | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/dynamic/schema-rsvp.sql b/dynamic/schema-rsvp.sql deleted file mode 100644 index 3e6a21f..0000000 --- a/dynamic/schema-rsvp.sql +++ /dev/null @@ -1,34 +0,0 @@ -CREATE TABLE IF NOT EXISTS events ( - id SERIAL, - title varchar(128) NOT NULL, - description varchar(16384) NOT NULL, - datetime timestamp with time zone NOT NULL, - location varchar(128) NOT NULL, - PRIMARY KEY (id) -); - -CREATE TABLE IF NOT EXISTS invitations ( - id SERIAL, - vanity char(12) NOT NULL, - comments varchar(1024) NOT NULL, - created_on timestamp with time zone default current_timestamp, - capabilities bigint NOT NULL, - event_id integer NOT NULL, - PRIMARY KEY (id) -); - -CREATE TABLE IF NOT EXISTS rsvps ( - id SERIAL, - vanity char(12) NOT NULL, - invitation_id char(12) NOT NULL, - event_id bigint NOT NULL, - fullname varchar(128) NOT NULL, - email varchar(256) NOT NULL, - guests varchar(1024) NOT NULL, - attending varchar(32) NOT NULL, - PRIMARY KEY (id) -); - --- `rsvps` contains the bare minimum. If we later decide we need additional --- fields, we'll have an additional table mapping events.id to attribute names --- and rsvps.id to attribute values. |