empty-1.7.2.sql 8.2 KB

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