]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add a table for group aliases
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 15 Jun 2009 04:40:47 +0000 (21:40 -0700)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 15 Jun 2009 04:40:47 +0000 (21:40 -0700)
db/laconica.sql

index bc824fc4db4540830d2354672b6a454e064896f5..b8c0824f5aa765b024a924c124142d5ac482aab7 100644 (file)
@@ -493,3 +493,13 @@ create table group_block (
    constraint primary key (group_id, blocked)
 
 ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
+
+create table group_alias (
+
+   alias varchar(64) primary key comment 'additional nickname for the group',
+   group_id integer not null comment 'group profile is blocked from' references user_group (id),
+   modified timestamp comment 'date alias was created',
+
+   index group_alias_group_id_idx (group_id)
+
+) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;