summaryrefslogtreecommitdiff
path: root/db/laconica.sql
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-14 23:48:24 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-14 23:48:24 -0700
commit4dad3191f65512b04894377541c4a041221ed9a2 (patch)
treeb5714e21f0a2a04a1af7f1252fff923dbf411aed /db/laconica.sql
parent2f3c4f8812d389df40cf62b8967cf3e359ad5663 (diff)
parent1b6b00a6d05ad646a9137a872af8d8fdeeaf260f (diff)
Merge branch 'groupalias' into 0.8.x
Diffstat (limited to 'db/laconica.sql')
-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;