From d4201a91594b3003d7550c9a4cf5a2edf7452d8d Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 12 Jun 2014 22:10:04 +0200 Subject: [PATCH] Add etherpad_group column in db --- docs/schema.mysql | 1 + docs/upgrade.mysql | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/schema.mysql b/docs/schema.mysql index 08b90ac..8f85293 100644 --- a/docs/schema.mysql +++ b/docs/schema.mysql @@ -9,6 +9,7 @@ CREATE TABLE `rooms` ( `ask_for_name` tinyint(1) DEFAULT '0', `join_password` varchar(160) DEFAULT NULL, `owner_password` varchar(160) DEFAULT NULL, + `etherpad_group` varchar(40) DEFAULT NULL, `token` varchar(160) DEFAULT NULL, `realm` varchar(160) DEFAULT NULL, `persistent` tinyint(1) DEFAULT '0', diff --git a/docs/upgrade.mysql b/docs/upgrade.mysql index 8c93b27..903d094 100644 --- a/docs/upgrade.mysql +++ b/docs/upgrade.mysql @@ -21,3 +21,4 @@ CREATE TABLE IF NOT EXISTS `invitations` ( `timestamp` int(20) DEFAULT NULL, PRIMARY KEY (`token`) ) DEFAULT CHARSET=utf8; +ALTER TABLE `rooms` ADD COLUMN `etherpad_group` varchar(40) DEFAULT NULL AFTER `owner_password`;