summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-08 14:56:11 -0500
committerEvan Prodromou <evan@status.net>2009-12-08 14:56:11 -0500
commitadd126bc6c6eb574e00f171c2107b0406b7015e5 (patch)
tree2dcc3e0ebb571049bf332ca089598e917ef19b7a /db
parent3536f01258dc43bee764c98fbdda5a6f1df7bcb2 (diff)
add forward table
Diffstat (limited to 'db')
-rw-r--r--db/statusnet.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql
index 18abcdfdb..b500b81f2 100644
--- a/db/statusnet.sql
+++ b/db/statusnet.sql
@@ -585,3 +585,14 @@ create table login_token (
constraint primary key (user_id)
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
+create table forward (
+
+ profile_id integer not null comment 'profile who forwarded the notice' references profile (id),
+ notice_id integer not null comment 'notice they forwarded' references notice (id),
+
+ created datetime not null comment 'date this record was created',
+
+ constraint primary key (profile_id, notice_id)
+
+) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
+