0.8.8.sql 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. CREATE TABLE IF NOT EXISTS `smz_templates` (
  2. `id` int(11) NOT NULL AUTO_INCREMENT,
  3. `name` varchar(255) NOT NULL,
  4. `text` varchar(255) NOT NULL,
  5. PRIMARY KEY (`id`)
  6. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  7. CREATE TABLE IF NOT EXISTS `smz_filters` (
  8. `id` int(11) NOT NULL AUTO_INCREMENT,
  9. `name` varchar(255) NOT NULL,
  10. `filters` TEXT NOT NULL,
  11. PRIMARY KEY (`id`)
  12. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  13. ALTER TABLE `wcpedevices` ADD `snmp` VARCHAR(45) NULL DEFAULT NULL AFTER `mac`;
  14. CREATE TABLE IF NOT EXISTS `smz_lists` (
  15. `id` int(11) NOT NULL AUTO_INCREMENT,
  16. `name` varchar(255) NOT NULL,
  17. PRIMARY KEY (`id`)
  18. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  19. CREATE TABLE IF NOT EXISTS `smz_nums` (
  20. `id` int(11) NOT NULL AUTO_INCREMENT,
  21. `numid` int(11) NOT NULL,
  22. `mobile` varchar(40) NOT NULL,
  23. `notes` varchar(255) DEFAULT NULL,
  24. PRIMARY KEY (`id`)
  25. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  26. CREATE TABLE IF NOT EXISTS `smz_excl` (
  27. `id` int(11) NOT NULL AUTO_INCREMENT,
  28. `mobile` varchar(40) NOT NULL,
  29. PRIMARY KEY (`id`)
  30. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  31. CREATE TABLE IF NOT EXISTS `ldap_users` (
  32. `id` int(11) NOT NULL AUTO_INCREMENT,
  33. `login` varchar(255) NOT NULL,
  34. `password` varchar(255) NOT NULL,
  35. `groups` TEXT DEFAULT NULL,
  36. `changed` TINYINT(1) NOT NULL ,
  37. PRIMARY KEY (`id`)
  38. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  39. CREATE TABLE IF NOT EXISTS `ldap_groups` (
  40. `id` int(11) NOT NULL AUTO_INCREMENT,
  41. `name` varchar(255) NOT NULL,
  42. PRIMARY KEY (`id`)
  43. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  44. CREATE TABLE IF NOT EXISTS `ldap_queue` (
  45. `id` int(11) NOT NULL AUTO_INCREMENT,
  46. `task` varchar(255) NOT NULL,
  47. `param` TEXT DEFAULT NULL,
  48. PRIMARY KEY (`id`)
  49. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;