empty-1.6.sql 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. DROP TABLE IF EXISTS `glpi_plugin_archires_query_location`;
  2. CREATE TABLE `glpi_plugin_archires_query_location` (
  3. `ID` INT( 11 ) NOT NULL auto_increment,
  4. `FK_entities` int(11) NOT NULL default '0',
  5. `name` VARCHAR( 50 ) collate utf8_unicode_ci NOT NULL,
  6. `location` INT( 4 ) NOT NULL DEFAULT '0',
  7. `child` smallint(6) NOT NULL default '0',
  8. `network` INT( 11 ) NOT NULL DEFAULT '0',
  9. `status` INT( 11 ) NOT NULL DEFAULT '0',
  10. `FK_group` INT( 11 ) NOT NULL DEFAULT '0',
  11. `FK_config` INT( 11 ) NOT NULL DEFAULT '0',
  12. `FK_vlan` INT( 11 ) NOT NULL DEFAULT '0',
  13. `link` smallint(6) NOT NULL default '1',
  14. `notes` LONGTEXT,
  15. `deleted` smallint(6) NOT NULL default '0',
  16. PRIMARY KEY (`ID`)
  17. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  18. DROP TABLE IF EXISTS `glpi_plugin_archires_query_switch`;
  19. CREATE TABLE `glpi_plugin_archires_query_switch` (
  20. `ID` INT( 11 ) NOT NULL auto_increment,
  21. `FK_entities` int(11) NOT NULL default '0',
  22. `name` VARCHAR( 50 ) collate utf8_unicode_ci NOT NULL,
  23. `switch` INT( 11 ) NOT NULL DEFAULT '0',
  24. `network` INT( 11 ) NOT NULL DEFAULT '0',
  25. `status` INT( 11 ) NOT NULL DEFAULT '0',
  26. `FK_group` INT( 11 ) NOT NULL DEFAULT '0',
  27. `FK_config` INT( 11 ) NOT NULL DEFAULT '0',
  28. `FK_vlan` INT( 11 ) NOT NULL DEFAULT '0',
  29. `link` smallint(6) NOT NULL default '1',
  30. `notes` LONGTEXT,
  31. `deleted` smallint(6) NOT NULL default '0',
  32. PRIMARY KEY (`ID`)
  33. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  34. DROP TABLE IF EXISTS `glpi_plugin_archires_query_applicatifs`;
  35. CREATE TABLE `glpi_plugin_archires_query_applicatifs` (
  36. `ID` INT( 11 ) NOT NULL auto_increment,
  37. `FK_entities` int(11) NOT NULL default '0',
  38. `name` VARCHAR( 50 ) collate utf8_unicode_ci NOT NULL,
  39. `applicatifs` INT( 11 ) NOT NULL DEFAULT '0',
  40. `network` INT( 11 ) NOT NULL DEFAULT '0',
  41. `status` INT( 11 ) NOT NULL DEFAULT '0',
  42. `FK_group` INT( 11 ) NOT NULL DEFAULT '0',
  43. `FK_config` INT( 11 ) NOT NULL DEFAULT '0',
  44. `FK_vlan` INT( 11 ) NOT NULL DEFAULT '0',
  45. `link` smallint(6) NOT NULL default '1',
  46. `notes` LONGTEXT,
  47. `deleted` smallint(6) NOT NULL default '0',
  48. PRIMARY KEY (`ID`)
  49. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  50. DROP TABLE IF EXISTS `glpi_plugin_archires_image_device`;
  51. CREATE TABLE `glpi_plugin_archires_image_device` (
  52. `ID` INT( 11 ) NOT NULL auto_increment,
  53. `type` INT( 11 ) NOT NULL ,
  54. `device_type` INT( 11 ) NOT NULL ,
  55. `img` VARCHAR( 50 ) collate utf8_unicode_ci NOT NULL,
  56. PRIMARY KEY (`ID`)
  57. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  58. DROP TABLE IF EXISTS `glpi_plugin_archires_query_type`;
  59. CREATE TABLE `glpi_plugin_archires_query_type` (
  60. `ID` INT( 11 ) NOT NULL auto_increment,
  61. `type_query` INT( 11 ) NOT NULL ,
  62. `type` INT( 11 ) NOT NULL ,
  63. `device_type` INT( 11 ) NOT NULL,
  64. `FK_query` INT( 11 ) NOT NULL,
  65. PRIMARY KEY (`ID`)
  66. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  67. DROP TABLE IF EXISTS `glpi_plugin_archires_color_iface`;
  68. CREATE TABLE `glpi_plugin_archires_color_iface` (
  69. `ID` INT( 11 ) NOT NULL auto_increment,
  70. `iface` INT( 11 ) NOT NULL ,
  71. `color` VARCHAR( 50 ) collate utf8_unicode_ci NOT NULL,
  72. PRIMARY KEY (`ID`)
  73. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  74. DROP TABLE IF EXISTS `glpi_plugin_archires_color_state`;
  75. CREATE TABLE `glpi_plugin_archires_color_state` (
  76. `ID` INT( 11 ) NOT NULL auto_increment,
  77. `state` INT( 11 ) NOT NULL ,
  78. `color` VARCHAR( 50 ) collate utf8_unicode_ci NOT NULL,
  79. PRIMARY KEY (`ID`)
  80. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  81. DROP TABLE IF EXISTS `glpi_plugin_archires_config`;
  82. CREATE TABLE `glpi_plugin_archires_config` (
  83. `ID` INT( 11 ) NOT NULL auto_increment,
  84. `FK_entities` int(11) NOT NULL default '0',
  85. `name` VARCHAR( 250 ) collate utf8_unicode_ci NOT NULL,
  86. `computer` smallint(6) NOT NULL default '0',
  87. `networking` smallint(6) NOT NULL default '0',
  88. `printer` smallint(6) NOT NULL default '0',
  89. `peripheral` smallint(6) NOT NULL default '0',
  90. `phone` smallint(6) NOT NULL default '0',
  91. `display_ports` smallint(6) NOT NULL default '0',
  92. `display_ip` smallint(6) NOT NULL default '0',
  93. `display_type` smallint(6) NOT NULL default '0',
  94. `display_state` smallint(6) NOT NULL default '0',
  95. `display_location` smallint(6) NOT NULL default '0',
  96. `display_entity` smallint(6) NOT NULL default '0',
  97. `system` smallint(6) NOT NULL default '0',
  98. `engine` smallint(6) NOT NULL default '0',
  99. `format` smallint(6) NOT NULL default '0',
  100. `deleted` smallint(6) NOT NULL default '0',
  101. PRIMARY KEY (`ID`)
  102. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  103. INSERT INTO `glpi_plugin_archires_config` ( `ID`,`FK_entities`,`name`, `computer` , `networking`, `printer`, `peripheral`, `phone`,`display_ports`,`display_ip`,`display_type`,`display_state`,`display_location`,`display_entity`,`system`,`engine`,`format`) VALUES ('1','0','default','1', '1','1','1','1','0','0','0','0','0','0','0','0','1');
  104. DROP TABLE IF EXISTS `glpi_plugin_archires_profiles`;
  105. CREATE TABLE `glpi_plugin_archires_profiles` (
  106. `ID` int(11) NOT NULL auto_increment,
  107. `name` varchar(255) collate utf8_unicode_ci default NULL,
  108. `interface` varchar(50) collate utf8_unicode_ci NOT NULL default 'archires',
  109. `is_default` smallint(6) NOT NULL default '0',
  110. `archires` char(1) default NULL,
  111. PRIMARY KEY (`ID`),
  112. KEY `interface` (`interface`)
  113. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  114. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3000','2','1','0');
  115. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3000','3','2','0');
  116. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3000','4','3','0');
  117. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3000','5','4','0');
  118. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3000','6','5','0');
  119. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3000','7','6','0');
  120. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3000','8','7','0');
  121. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3000','9','8','0');
  122. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3001','2','1','0');
  123. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3001','3','2','0');
  124. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3001','4','3','0');
  125. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3001','5','4','0');
  126. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3001','6','5','0');
  127. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3001','7','6','0');
  128. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3001','8','7','0');
  129. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3002','2','1','0');
  130. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3002','3','2','0');
  131. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3002','4','3','0');
  132. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3002','5','4','0');
  133. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3002','6','5','0');
  134. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3002','7','6','0');
  135. INSERT INTO `glpi_display` ( `ID` , `type` , `num` , `rank` , `FK_users` ) VALUES (NULL,'3002','8','7','0');