]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - db/laconica.sql
add a deleted_notice table
[quix0rs-gnu-social.git] / db / laconica.sql
index 2c04f680a85d587a032cd06fada5c63c8488eaa5..f0110717606304fbdf228fd9303edcf73670191a 100644 (file)
@@ -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;