diff options
| author | Scott Ostler <sbsotler@gmail.com> | 2010-11-29 01:15:49 -0500 |
|---|---|---|
| committer | Scott Ostler <sbsotler@gmail.com> | 2010-11-29 01:15:49 -0500 |
| commit | dd46cb29fa939546908db15fc92491bc49f3130f (patch) | |
| tree | 50b8f74086728540cbc49249d4b98aacb9040d12 /db/0-create.psql | |
| parent | d82ee6e32595edef8b7c5782f72eacac24d8a0c2 (diff) | |
Commit initial vip-only direct messaging
Diffstat (limited to 'db/0-create.psql')
| -rw-r--r-- | db/0-create.psql | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/db/0-create.psql b/db/0-create.psql index 4fa8536..762bc3a 100644 --- a/db/0-create.psql +++ b/db/0-create.psql @@ -137,11 +137,11 @@ CREATE TABLE invalid_feed_images ( CREATE INDEX invalid_feed_images_idx ON invalid_feed_images (image_url); -CREATE TABLE events ( - event_id SERIAL PRIMARY KEY, - name text NOT NULL, - author integer NOT NULL REFERENCES, - created_on timestamp NOT NULL DEFAULT now() +CREATE TABLE direct_messages ( + dm_id SERIAL PRIMARY KEY, + message_id integer NOT NULL REFERENCES messages, + author_id integer NOT NULL REFERENCES users, + recip_id integer NOT NULL REFERENCES users ); -- dont add this yet |
