0.8.4.sql 605 B

12345678910111213141516171819
  1. ALTER TABLE `switches` ADD `snmpwrite` VARCHAR(45) NULL AFTER `swid`;
  2. ALTER TABLE `phones` ADD INDEX (`login`);
  3. ALTER TABLE `print_card` ADD UNIQUE (`title`);
  4. CREATE TABLE IF NOT EXISTS `dealwithithist` (
  5. `id` int(11) NOT NULL AUTO_INCREMENT,
  6. `originalid` INT(11) NOT NULL,
  7. `mtime` datetime NOT NULL,
  8. `date` date NOT NULL,
  9. `login` varchar(45) NOT NULL,
  10. `action` varchar(45) NOT NULL,
  11. `param` varchar(45) DEFAULT NULL,
  12. `note` varchar(45) DEFAULT NULL,
  13. `admin` varchar(50) DEFAULT NULL,
  14. `done` TINYINT(1) NOT NULL ,
  15. PRIMARY KEY (`id`)
  16. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;