0.9.9.sql 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. CREATE TABLE IF NOT EXISTS `banksta2` (
  2. `id` int(11) NOT NULL AUTO_INCREMENT,
  3. `date` datetime NOT NULL,
  4. `hash` varchar(255) NOT NULL,
  5. `filename` varchar(255) DEFAULT NULL,
  6. `admin` varchar(255) NOT NULL,
  7. `contract` varchar(255) DEFAULT NULL,
  8. `summ` varchar(42) NOT NULL,
  9. `address` varchar(255) DEFAULT NULL,
  10. `realname` varchar(255) DEFAULT NULL,
  11. `notes` varchar(255) DEFAULT NULL,
  12. `pdate` varchar(42) DEFAULT NULL,
  13. `ptime` varchar(42) DEFAULT NULL,
  14. `processed` tinyint(4) NOT NULL,
  15. `canceled` tinyint(4) NOT NULL,
  16. `service_type` varchar(100) NOT NULL DEFAULT '',
  17. `payid` int(11) DEFAULT NULL,
  18. PRIMARY KEY (`id`)
  19. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  20. CREATE TABLE IF NOT EXISTS `banksta2_presets` (
  21. `id` int(11) NOT NULL AUTO_INCREMENT,
  22. `presetname` varchar(80) NOT NULL,
  23. `col_realname` varchar(20) DEFAULT '',
  24. `col_address` varchar(20) DEFAULT '',
  25. `col_paysum` varchar(20) DEFAULT '',
  26. `col_paypurpose` varchar(20) DEFAULT '',
  27. `col_paydate` varchar(20) DEFAULT '',
  28. `col_paytime` varchar(20) DEFAULT '',
  29. `col_contract` varchar(20) DEFAULT '',
  30. `guess_contract` tinyint(3) DEFAULT 0,
  31. `contract_delim_start` varchar(40) DEFAULT '',
  32. `contract_delim_end` varchar(40) DEFAULT '',
  33. `contract_min_len` tinyint(3) DEFAULT 0,
  34. `contract_max_len` tinyint(3) DEFAULT 0,
  35. `service_type` varchar(100) NOT NULL DEFAULT '',
  36. `inet_srv_start_delim` varchar(40) DEFAULT '',
  37. `inet_srv_end_delim` varchar(40) DEFAULT '',
  38. `inet_srv_keywords` varchar(200) DEFAULT '',
  39. `ukv_srv_start_delim` varchar(40) DEFAULT '',
  40. `ukv_srv_end_delim` varchar(40) DEFAULT '',
  41. `ukv_srv_keywords` varchar(200) DEFAULT '',
  42. `skip_row` tinyint(3) DEFAULT 0,
  43. `col_skiprow` varchar(20) DEFAULT '',
  44. `skip_row_keywords` varchar(200) DEFAULT '',
  45. PRIMARY KEY (`id`),
  46. UNIQUE KEY (`presetname`)
  47. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  48. CREATE TABLE IF NOT EXISTS `visor_users` (
  49. `id` int(11) NOT NULL AUTO_INCREMENT,
  50. `regdate` datetime NOT NULL,
  51. `realname` varchar(250) DEFAULT NULL,
  52. `phone` varchar(40) DEFAULT NULL,
  53. `chargecams` tinyint(4) NOT NULL,
  54. PRIMARY KEY (`id`)
  55. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  56. CREATE TABLE IF NOT EXISTS `visor_cams` (
  57. `id` int(11) NOT NULL AUTO_INCREMENT,
  58. `visorid` int(11) NOT NULL,
  59. `login` varchar(250) NOT NULL,
  60. `primary` tinyint(4) NOT NULL,
  61. `camlogin` varchar(250) DEFAULT NULL,
  62. `campassword` varchar(250) DEFAULT NULL,
  63. `port` int(11) DEFAULT NULL,
  64. `dvrid` int(11) DEFAULT NULL,
  65. `dvrlogin` varchar(250) DEFAULT NULL,
  66. `dvrpassword` varchar(250) DEFAULT NULL,
  67. PRIMARY KEY (`id`)
  68. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  69. CREATE TABLE IF NOT EXISTS `visor_dvrs` (
  70. `id` int(11) NOT NULL AUTO_INCREMENT,
  71. `ip` varchar(250) NOT NULL,
  72. `port` int(11) DEFAULT NULL,
  73. `login` varchar(250) DEFAULT NULL,
  74. `password` varchar(250) DEFAULT NULL,
  75. PRIMARY KEY (`id`)
  76. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;