summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-14 21:40:47 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-14 21:40:47 -0700
commit0deb2928e649c358ce1046028dcca4dabc4b3aa6 (patch)
treeb245773f35967e749608f36d18656e622a7692be /db
parentf8da15bf41b07a46b1fbe5323e2b8136d42c5b31 (diff)
add a table for group aliases
Diffstat (limited to 'db')
-rw-r--r--db/laconica.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/laconica.sql b/db/laconica.sql
index bc824fc4d..b8c0824f5 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;