Sindbad~EG File Manager

Current Path : /home/escuelai/www/it/marketplace/addressing/sql/
Upload File :
Current File : /home/escuelai/www/it/marketplace/addressing/sql/update-1.8.0.sql

ALTER TABLE `glpi_plugin_addressing` RENAME `glpi_plugin_addressing_addressings`;
ALTER TABLE `glpi_plugin_addressing_addressings` 
   CHANGE `ID` `id` int(11) NOT NULL auto_increment,
   CHANGE `FK_entities` `entities_id` int(11) NOT NULL default '0',
   CHANGE `name` `name` varchar(255) collate utf8_unicode_ci default NULL,
   CHANGE `network` `networks_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_networks (id)',
   CHANGE `ipdeb` `begin_ip` varchar(255) collate utf8_unicode_ci default NULL,
   CHANGE `ipfin` `end_ip` varchar(255) collate utf8_unicode_ci default NULL,
   CHANGE `ip_alloted` `alloted_ip` tinyint(1) NOT NULL default '0',
   CHANGE `ip_double` `double_ip` tinyint(1) NOT NULL default '0',
   CHANGE `ip_free` `free_ip` tinyint(1) NOT NULL default '0',
   CHANGE `ip_reserved` `reserved_ip` tinyint(1) NOT NULL default '0',
   CHANGE `ping` `use_ping` tinyint(1) NOT NULL default '0',
   DROP `link`,
   CHANGE `comments` `comment` text collate utf8_unicode_ci,
   CHANGE `deleted` `is_deleted` tinyint(1) NOT NULL default '0',
   ADD INDEX (`name`),
   ADD INDEX (`entities_id`),
   ADD INDEX (`networks_id`),
   ADD INDEX (`is_deleted`);

ALTER TABLE `glpi_plugin_addressing_display` RENAME `glpi_plugin_addressing_configs`;

ALTER TABLE `glpi_plugin_addressing_configs` 
   CHANGE `ID` `id` int(11) NOT NULL auto_increment,
   CHANGE `ip_alloted` `alloted_ip` tinyint(1) NOT NULL default '0',
   CHANGE `ip_double` `double_ip` tinyint(1) NOT NULL default '0',
   CHANGE `ip_free` `free_ip` tinyint(1) NOT NULL default '0',
   CHANGE `ip_reserved` `reserved_ip` tinyint(1) NOT NULL default '0',
   CHANGE `ping` `use_ping` tinyint(1) NOT NULL default '0',
   CHANGE `system` `used_system` tinyint(1) NOT NULL default '0';

ALTER TABLE `glpi_plugin_addressing_profiles` 
   CHANGE `ID` `id` int(11) NOT NULL auto_increment,
   ADD `profiles_id` int(11) NOT NULL default '0' COMMENT 'RELATION to glpi_profiles (id)',
   CHANGE `addressing` `addressing` char(1) collate utf8_unicode_ci default NULL,
   ADD INDEX (`profiles_id`);

DELETE FROM `glpi_displaypreferences` WHERE `itemtype` = 5000 AND `num` = 5;

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists