1
0
mirror of https://github.com/dani/vroom.git synced 2024-07-02 12:13:12 +02:00
vroom/docs/upgrade.mysql

9 lines
413 B
Plaintext
Raw Normal View History

ALTER TABLE `rooms` ADD COLUMN `owner_password` varchar(160) DEFAULT NULL AFTER `join_password`;
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`;
2014-05-19 17:12:57 +02:00
CREATE TABLE IF NOT EXISTS `notifications` (
`id` int(11) NOT NULL,
`email` varchar(254),
PRIMARY KEY (`id`,`email`)
);