mirror of https://github.com/dani/vroom.git
Add a new ask_for_name field in the DB
This commit is contained in:
parent
a94fe314e4
commit
25a3dfd2c2
|
@ -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,
|
||||
|
|
|
@ -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` (
|
||||
|
|
Loading…
Reference in New Issue