summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-08 17:32:09 -0500
committerEvan Prodromou <evan@status.net>2009-12-08 17:32:09 -0500
commit5344b3fb4bd48e0559e5ff37b961878ae3a31d3b (patch)
tree180c69475282bfcc8a36f79e775a3616b4263f38 /db
parent41cbb90faeabc0a6002b41d40d392f45a59a7aba (diff)
add forward table to updates
Diffstat (limited to 'db')
-rw-r--r--db/08to09.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/08to09.sql b/db/08to09.sql
index 64640f4ce..a945416ea 100644
--- a/db/08to09.sql
+++ b/db/08to09.sql
@@ -82,3 +82,15 @@ 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;
+