summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-02-16 23:30:08 -0800
committerZach Copley <zach@status.net>2010-02-16 23:30:08 -0800
commita2f8c5da171d23790811677affd7ca5301a995a5 (patch)
treef6fa7b1a6c0a96eab1ef5c3070adc58b0401ef1e /db
parent5886e9621737c0712b9957edf716b554e04d0ce0 (diff)
New Conversation DO to handle remote notices as conversation roots
Diffstat (limited to 'db')
-rw-r--r--db/statusnet.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql
index 343464801..74e5b6954 100644
--- a/db/statusnet.sql
+++ b/db/statusnet.sql
@@ -633,3 +633,11 @@ create table inbox (
constraint primary key (user_id)
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
+
+create table conversation (
+ id integer auto_increment primary key comment 'unique identifier',
+ uri varchar(225) not null unique comment 'URI of the conversation',
+ created datetime not null comment 'date this record was created',
+ modified timestamp comment 'date this record was modified'
+) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
+