upgradexuanxuan7.2.beta.sql 854 B

123456789101112131415
  1. ALTER TABLE `zt_im_conference` ADD `subscribers` text NULL AFTER `participants`;
  2. ALTER TABLE `zt_im_conference` ADD `note` text NULL AFTER `number`;
  3. ALTER TABLE `zt_im_conference` ADD `sentNotify` tinyint(1) NOT NULL DEFAULT 0 AFTER `note`;
  4. ALTER TABLE `zt_im_conference` ADD `reminderTime` int NOT NULL DEFAULT 0 AFTER `sentNotify`;
  5. ALTER TABLE `zt_im_conference` MODIFY `status` enum ('closed', 'open', 'notStarted') DEFAULT 'closed' NOT NULL;
  6. -- DROP TABLE IF EXISTS `zt_im_conferenceuser`;
  7. CREATE TABLE IF NOT EXISTS `zt_im_conferenceuser` (
  8. `id` mediumint(8) unsigned NOT NULL auto_increment,
  9. `conference` mediumint(8) NOT NULL DEFAULT 0,
  10. `user` mediumint(8) NOT NULL DEFAULT 0,
  11. `hide` enum('0', '1') NOT NULL DEFAULT '0',
  12. PRIMARY KEY (`id`),
  13. UNIQUE KEY `conferenceuser` (`conference`, `user`)
  14. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;