Add etherpad_group column in db

This commit is contained in:
Daniel Berteaud 2014-06-12 22:10:04 +02:00
parent 03252b99b2
commit d4201a9159
2 changed files with 2 additions and 0 deletions

View File

@ -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',

View File

@ -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`;