From: Brion Vibber Date: Thu, 25 Feb 2010 21:15:20 +0000 (+0000) Subject: Not sure how this ended up in wrong-cased dir... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8278eca7ffe5d8c3e05fead042754640b8169411;p=quix0rs-gnu-social.git Not sure how this ended up in wrong-cased dir... --- diff --git a/DB/local_group.sql b/DB/local_group.sql deleted file mode 100644 index 14973e7559..0000000000 --- a/DB/local_group.sql +++ /dev/null @@ -1,17 +0,0 @@ -alter table user_group - add uri varchar(255) unique key comment 'universal identifier', - add mainpage varchar(255) comment 'page for group info to link to', - drop index nickname; - -create table local_group ( - - group_id integer primary key comment 'group represented' references user_group (id), - nickname varchar(64) unique key comment 'group represented', - - created datetime not null comment 'date this record was created', - modified timestamp comment 'date this record was modified' - -) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; - -insert into local_group (group_id, nickname, created, modified) - select id, nickname, created, modified from user_group; diff --git a/db/local_group.sql b/db/local_group.sql new file mode 100644 index 0000000000..14973e7559 --- /dev/null +++ b/db/local_group.sql @@ -0,0 +1,17 @@ +alter table user_group + add uri varchar(255) unique key comment 'universal identifier', + add mainpage varchar(255) comment 'page for group info to link to', + drop index nickname; + +create table local_group ( + + group_id integer primary key comment 'group represented' references user_group (id), + nickname varchar(64) unique key comment 'group represented', + + created datetime not null comment 'date this record was created', + modified timestamp comment 'date this record was modified' + +) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; + +insert into local_group (group_id, nickname, created, modified) + select id, nickname, created, modified from user_group;