0.9.2.sql 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. CREATE TABLE IF NOT EXISTS `whiteboard` (
  2. `id` int(11) NOT NULL AUTO_INCREMENT,
  3. `categoryid` int(11) NOT NULL,
  4. `admin` varchar(255) NOT NULL,
  5. `employeeid` int(11) DEFAULT NULL,
  6. `createdate` datetime NOT NULL,
  7. `donedate` datetime DEFAULT NULL,
  8. `priority` int(11) NOT NULL,
  9. `name` varchar(255) NOT NULL,
  10. `text` text,
  11. PRIMARY KEY (`id`)
  12. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
  13. CREATE TABLE IF NOT EXISTS `taskmanlogs` (
  14. `id` int(11) NOT NULL AUTO_INCREMENT,
  15. `taskid` int(11) NOT NULL,
  16. `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  17. `admin` varchar(45) DEFAULT NULL,
  18. `ip` varchar(64) DEFAULT NULL,
  19. `event` varchar(255) NOT NULL,
  20. `logs` text,
  21. PRIMARY KEY (`id`),
  22. KEY `taskid` (`taskid`) USING BTREE,
  23. KEY `date` (`date`)
  24. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
  25. CREATE TABLE IF NOT EXISTS `om_tariffs` (
  26. `id` int(11) NOT NULL AUTO_INCREMENT,
  27. `tariffid` int(11) NOT NULL,
  28. `tariffname` varchar(255) NOT NULL,
  29. `type` varchar(64) NOT NULL,
  30. `fee` DOUBLE DEFAULT NULL,
  31. PRIMARY KEY (`id`)
  32. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
  33. CREATE TABLE IF NOT EXISTS `om_users` (
  34. `id` int(11) NOT NULL AUTO_INCREMENT,
  35. `login` varchar(255) NOT NULL,
  36. `customerid` bigint(20) NOT NULL,
  37. `basetariffid` int(11) DEFAULT NULL,
  38. `bundletariffs` varchar(255) DEFAULT NULL,
  39. `active` int(11) DEFAULT NULL,
  40. `actdate` datetime NOT NULL,
  41. PRIMARY KEY (`id`)
  42. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
  43. CREATE TABLE IF NOT EXISTS `om_queue` (
  44. `id` int(11) NOT NULL AUTO_INCREMENT,
  45. `customerid` bigint(20) NOT NULL,
  46. `tariffid` int(11) DEFAULT NULL,
  47. `action` varchar(64) NOT NULL,
  48. PRIMARY KEY (`id`)
  49. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
  50. CREATE TABLE IF NOT EXISTS `om_suspend` (
  51. `id` int(11) NOT NULL AUTO_INCREMENT,
  52. `login` varchar(255) NOT NULL,
  53. PRIMARY KEY (`id`)
  54. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;