summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-16 00:40:45 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-04 06:05:04 -0400
commitdb53cc800f5f5ffffdd52496b6dc71e36ea1a635 (patch)
treeb4c0cbb356df8a977c6ca57f13d8c71cca3ad7a1 /db
parentb995370d4a7e40342ceb214fcc013ebc2ce3d45c (diff)
add a deleted_notice table
Diffstat (limited to 'db')
-rw-r--r--db/laconica.sql14
1 files changed, 13 insertions, 1 deletions
diff --git a/db/laconica.sql b/db/laconica.sql
index 2c04f680a..f01107176 100644
--- a/db/laconica.sql
+++ b/db/laconica.sql
@@ -534,4 +534,16 @@ create table session (
index session_modified_idx (modified)
-) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; \ No newline at end of file
+) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
+
+create table deleted_notice (
+
+ id integer primary key comment 'identity of notice',
+ profile_id integer not null comment 'author of the notice',
+ uri varchar(255) unique key comment 'universally unique identifier, usually a tag URI',
+ created datetime not null comment 'date the notice record was created',
+ deleted datetime not null comment 'date the notice record was created',
+
+ index deleted_notice_profile_id_idx (profile_id)
+
+) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;