summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-11-12 12:25:17 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-11-12 12:25:17 -0500
commit3987de1064de54c945d311fa8b0eab144504891a (patch)
treed219a89b5a7d809f4d226d000bafb4c731b71e44 /db
parent8deac7248e7db35515d7810491f9136deffa3098 (diff)
created timestamp on notice_inbox
darcs-hash:20081112172517-5ed1f-4e8534d7898e2134edf4c0a28417b4a5274617d4.gz
Diffstat (limited to 'db')
-rw-r--r--db/laconica.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/laconica.sql b/db/laconica.sql
index f1d3a484f..872481ace 100644
--- a/db/laconica.sql
+++ b/db/laconica.sql
@@ -336,6 +336,7 @@ create table notice_inbox (
user_id integer not null comment 'user receiving the message' references user (id),
notice_id integer not null comment 'notice received' references notice (id),
+ created datetime not null comment 'date the notice was created',
source tinyint default 1 comment 'reason it is in the inbox; 1=subscription',
constraint primary key (user_id, notice_id),