diff options
| author | Scott Ostler <sostler@ubuntu.(none)> | 2009-12-21 17:21:34 -0500 |
|---|---|---|
| committer | Scott Ostler <sostler@ubuntu.(none)> | 2009-12-21 17:21:34 -0500 |
| commit | 7a1af322fa38e1205613bc4767de7cc59b74c69c (patch) | |
| tree | 1c4cb7dc700d582552668b5dbd5be8c151052e32 /db/0-create.psql | |
| parent | 2e3b548249968e8e83ef5f78d81e82064c8e6420 (diff) | |
| parent | 704efb06cd424de7411f198bc4c6ce6b99a9dcbe (diff) | |
Fixed
Diffstat (limited to 'db/0-create.psql')
| -rwxr-xr-x | db/0-create.psql | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/db/0-create.psql b/db/0-create.psql index 35278c7..5bd8622 100755 --- a/db/0-create.psql +++ b/db/0-create.psql @@ -4,6 +4,7 @@ CREATE TABLE users ( hash text NOT NULL, email text NOT NULL, created_on timestamp NOT NULL DEFAULT now(), + avatar text, contact text, bio text ); @@ -19,7 +20,8 @@ CREATE TABLE messages ( user_id integer NOT NULL REFERENCES users, room_id integer NOT NULL REFERENCES rooms, content text NOT NULL, - created_on timestamp NOT NULL DEFAULT now() + created_on timestamp NOT NULL DEFAULT now(), + is_image bool ); CREATE TABLE user_session ( |
