diff --git a/docs/schema.mysql b/docs/schema.mysql index 2d8710c..99377cc 100644 --- a/docs/schema.mysql +++ b/docs/schema.mysql @@ -6,6 +6,7 @@ CREATE TABLE `rooms` ( `create_timestamp` int(20) DEFAULT NULL, `activity_timestamp` int(20) DEFAULT NULL, `locked` tinyint(1) DEFAULT '0', + `ask_for_name` tinyint(1) DEFAULT '0', `join_password` varchar(160) DEFAULT NULL, `owner_password` varchar(160) DEFAULT NULL, `token` varchar(160) DEFAULT NULL, diff --git a/docs/upgrade.mysql b/docs/upgrade.mysql index 977c200..dacf574 100644 --- a/docs/upgrade.mysql +++ b/docs/upgrade.mysql @@ -1,4 +1,5 @@ ALTER TABLE `rooms` ADD COLUMN `owner_password` varchar(160) DEFAULT NULL AFTER `join_password`; +ALTER TABLE `rooms` ADD COLUMN `ask_for_name` tinyint(1) DEFAULT NULL AFTER `locked`; ALTER TABLE `participants` ADD COLUMN `peer_id` varchar(40) DEFAULT NULL AFTER `participant`; ALTER TABLE `participants` ADD COLUMN `role` varchar(20) DEFAULT 'participant' AFTER `peer_id`; CREATE TABLE IF NOT EXISTS `notifications` (