Add etherpad_group column in db

master
Daniel Berteaud 11 years ago
parent 03252b99b2
commit d4201a9159
  1. 1
      docs/schema.mysql
  2. 1
      docs/upgrade.mysql

@ -9,6 +9,7 @@ CREATE TABLE `rooms` (
`ask_for_name` tinyint(1) DEFAULT '0', `ask_for_name` tinyint(1) DEFAULT '0',
`join_password` varchar(160) DEFAULT NULL, `join_password` varchar(160) DEFAULT NULL,
`owner_password` varchar(160) DEFAULT NULL, `owner_password` varchar(160) DEFAULT NULL,
`etherpad_group` varchar(40) DEFAULT NULL,
`token` varchar(160) DEFAULT NULL, `token` varchar(160) DEFAULT NULL,
`realm` varchar(160) DEFAULT NULL, `realm` varchar(160) DEFAULT NULL,
`persistent` tinyint(1) DEFAULT '0', `persistent` tinyint(1) DEFAULT '0',

@ -21,3 +21,4 @@ CREATE TABLE IF NOT EXISTS `invitations` (
`timestamp` int(20) DEFAULT NULL, `timestamp` int(20) DEFAULT NULL,
PRIMARY KEY (`token`) PRIMARY KEY (`token`)
) DEFAULT CHARSET=utf8; ) DEFAULT CHARSET=utf8;
ALTER TABLE `rooms` ADD COLUMN `etherpad_group` varchar(40) DEFAULT NULL AFTER `owner_password`;

Loading…
Cancel
Save