From: Evan Prodromou Date: Mon, 15 Jun 2009 04:40:47 +0000 (-0700) Subject: add a table for group aliases X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0deb2928e649c358ce1046028dcca4dabc4b3aa6;p=quix0rs-gnu-social.git add a table for group aliases --- diff --git a/db/laconica.sql b/db/laconica.sql index bc824fc4db..b8c0824f5a 100644 --- a/db/laconica.sql +++ b/db/laconica.sql @@ -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;