diff --git a/ajax/getDropdownValue.php b/ajax/getDropdownValue.php index 11a12a9..8e34743 100644 --- a/ajax/getDropdownValue.php +++ b/ajax/getDropdownValue.php @@ -138,9 +138,9 @@ if ($item instanceof CommonTreeDropdown) { } // Also search by id if ($displaywith && in_array('id', $_GET['displaywith'])) { - $where .= " OR `$table`.`id` ".$search; + $where .= " OR `$table`.`id` ".$search; } - + $where .= ")"; } } @@ -454,7 +454,7 @@ if ($item instanceof CommonTreeDropdown) { } // Also search by id if ($displaywith && in_array('id', $_GET['displaywith'])) { - $where .= " OR `$table`.`id` ".$search; + $where .= " OR `$table`.`id` ".$search; } $where .= ')'; @@ -506,6 +506,36 @@ if ($item instanceof CommonTreeDropdown) { $where"; break; + case "SLA" : + $where .= " AND ("; + // groups + if (!empty($_SESSION['glpigroups'])) { + $where .= " `glpi_groups_slas`.`groups_id` IN ('".implode("', '", $_SESSION['glpigroups'])."') OR "; + } + // entity + $where .= " `glpi_entities_slas`.`entities_id`='".$_GET['entity_restrict']."' OR "; + // user + $where .= " `glpi_slas_users`.`users_id`='".$_SESSION['glpiID']."' OR "; + // profile + $where .= " `glpi_slas_profiles`.`profiles_id`='".$_SESSION['glpiactiveprofile']['id']."' "; + + $where .= " )"; + + + $query = "SELECT DISTINCT `$table`.* + FROM `$table` + LEFT JOIN `glpi_groups_slas` + ON (`glpi_groups_slas`.`slas_id` = `$table`.`id`) + LEFT JOIN `glpi_entities_slas` + ON (`glpi_entities_slas`.`slas_id` = `$table`.`id`) + LEFT JOIN `glpi_slas_users` + ON (`glpi_slas_users`.`slas_id` = `$table`.`id`) + LEFT JOIN `glpi_slas_profiles` + ON (`glpi_slas_profiles`.`slas_id` = `$table`.`id`) + $where"; + break; + + default : $query = "SELECT `$table`.* $addselect FROM `$table` diff --git a/front/sla.form.php b/front/sla.form.php index 52475e6..9e10a61 100755 --- a/front/sla.form.php +++ b/front/sla.form.php @@ -71,6 +71,41 @@ if (isset($_POST["add"])) { sprintf(__('%s updates an item'), $_SESSION["glpiname"])); Html::back(); +} else if (isset($_POST["addvisibility"])) { + if (isset($_POST["_type"]) && !empty($_POST["_type"]) + && isset($_POST["slas_id"]) && $_POST["slas_id"]) { + $item = NULL; + switch ($_POST["_type"]) { + case 'User' : + if (isset($_POST['users_id']) && $_POST['users_id']) { + $item = new SLA_User(); + } + break; + + case 'Group' : + if (isset($_POST['groups_id']) && $_POST['groups_id']) { + $item = new Group_SLA(); + } + break; + + case 'Profile' : + if (isset($_POST['profiles_id']) && $_POST['profiles_id']) { + $item = new SLA_Profile(); + } + break; + + case 'Entity' : + $item = new Entity_SLA(); + break; + } + if (!is_null($item)) { + $item->add($_POST); + Event::log($_POST["slas_id"], "sla", 4, "tools", + //TRANS: %s is the user login + sprintf(__('%s adds a target'), $_SESSION["glpiname"])); + } + } + Html::back(); } else { Html::header(SLA::getTypeName(2), $_SERVER['PHP_SELF'], "config", "sla"); diff --git a/inc/entity_sla.class.php b/inc/entity_sla.class.php new file mode 100644 index 0000000..33396ed --- /dev/null +++ b/inc/entity_sla.class.php @@ -0,0 +1,74 @@ +. + -------------------------------------------------------------------------- + */ + +/** @file +* @brief +*/ + +if (!defined('GLPI_ROOT')) { + die("Sorry. You can't access directly to this file"); +} + +/// Class Entity_SLA +/// since version 0.86 +class Entity_SLA extends CommonDBRelation { + + // From CommonDBRelation + static public $itemtype_1 = 'SLA'; + static public $items_id_1 = 'slas_id'; + static public $itemtype_2 = 'Entity'; + static public $items_id_2 = 'entities_id'; + + static public $checkItem_2_Rights = self::DONT_CHECK_ITEM_RIGHTS; + static public $logs_for_item_2 = false; + + + /** + * Get entities for a SLA + * + * @param $slas_id ID of the SLA + * + * @return array of entities linked to a SLA + **/ + static function getEntities($slas_id) { + global $DB; + + $ent = array(); + $query = "SELECT `glpi_entities_slas`.* + FROM `glpi_entities_slas` + WHERE `slas_id` = '$slas_id'"; + + foreach ($DB->request($query) as $data) { + $ent[$data['entities_id']][] = $data; + } + return $ent; + } + +} +?> \ No newline at end of file diff --git a/inc/group_sla.class.php b/inc/group_sla.class.php new file mode 100644 index 0000000..62b442c --- /dev/null +++ b/inc/group_sla.class.php @@ -0,0 +1,74 @@ +. + -------------------------------------------------------------------------- + */ + +/** @file +* @brief +*/ + +if (!defined('GLPI_ROOT')) { + die("Sorry. You can't access directly to this file"); +} + +/// Class Group_Sla +/// since version 0.86 +class Group_SLA extends CommonDBRelation { + + // From CommonDBRelation + static public $itemtype_1 = 'SLA'; + static public $items_id_1 = 'slas_id'; + static public $itemtype_2 = 'Group'; + static public $items_id_2 = 'groups_id'; + + static public $checkItem_2_Rights = self::DONT_CHECK_ITEM_RIGHTS; + static public $logs_for_item_2 = false; + + + /** + * Get groups for a SLA + * + * @param $slas_id ID of the SLA + * + * @return array of groups linked to a SLA + **/ + static function getGroups($slas_id) { + global $DB; + + $groups = array(); + $query = "SELECT `glpi_groups_slas`.* + FROM `glpi_groups_slas` + WHERE slas_id = '$slas_id'"; + + foreach ($DB->request($query) as $data) { + $groups[$data['groups_id']][] = $data; + } + return $groups; + } + +} +?> \ No newline at end of file diff --git a/inc/sla.class.php b/inc/sla.class.php index d11e375..7661972 100755 --- a/inc/sla.class.php +++ b/inc/sla.class.php @@ -40,6 +40,12 @@ if (!defined('GLPI_ROOT')) { **/ class SLA extends CommonDBTM { + // For visibility checks + protected $users = array(); + protected $groups = array(); + protected $profiles = array(); + protected $entities = array(); + // From CommonDBTM var $dohistory = true; @@ -70,7 +76,7 @@ class SLA extends CommonDBTM { function defineTabs($options=array()) { $ong = array(); - $this->addDefaultFormTab($ong); + $this->addStandardTab(__CLASS__, $ong, $options); $this->addStandardTab('SlaLevel', $ong, $options); $this->addStandardTab('Rule', $ong, $options); $this->addStandardTab('Ticket', $ong, $options); @@ -80,6 +86,83 @@ class SLA extends CommonDBTM { /** + * @since version 0.86 + **/ + function getTabNameForItem(CommonGLPI $item, $withtemplate=0) { + + if (!$withtemplate) { + switch ($item->getType()) { + case __CLASS__ : + $ong[1] = $this->getTypeName(1); + if ($item->canUpdateItem()) { + if ($_SESSION['glpishow_count_on_tabs']) { + $nb = $item->countVisibilities(); + $ong[2] = self::createTabEntry(_n('Target','Targets',$nb), + $nb); + } else { + $ong[2] = _n('Target','Targets',2); + } + } + return $ong; + } + } + return ''; + } + + + /** + * @since version 0.86 + **/ + static function displayTabContentForItem(CommonGLPI $item, $tabnum=1, $withtemplate=0) { + + if ($item->getType() == __CLASS__) { + switch($tabnum) { + case 1 : + $item->showForm($item->getID()); + break; + + case 2 : + $item->showVisibility(); + break; + } + } + return true; + } + + + /** + * @since version 0.83 + **/ + function post_getFromDB() { + + // Users + $this->users = SLA_User::getUsers($this->fields['id']); + + // Entities + $this->entities = Entity_SLA::getEntities($this->fields['id']); + + // Group / entities + $this->groups = Group_SLA::getGroups($this->fields['id']); + + // Profile / entities + $this->profiles = SLA_Profile::getProfiles($this->fields['id']); + } + + + + /** + * @since version 0.86 + **/ + function countVisibilities() { + + return (count($this->entities) + + count($this->users) + + count($this->groups) + + count($this->profiles)); + } + + + /** * @since version 0.85 * * @see CommonDBTM::post_getEmpty() @@ -501,5 +584,201 @@ class SLA extends CommonDBTM { return $input; } + + /** + * Show visibility config for a SLA + * + * @since version 0.86 + **/ + function showVisibility() { + global $DB, $CFG_GLPI; + + $ID = $this->fields['id']; + $canedit = $this->can($ID, UPDATE); + + echo "
"; + + $rand = mt_rand(); + $nb = count($this->users) + count($this->groups) + count($this->profiles) + + count($this->entities); + + if ($canedit) { + echo "
"; + echo "
"; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo "
".__('Add a target')."
"; + + $types = array('Entity', 'Group', 'Profile', 'User'); + + $addrand = Dropdown::showItemTypes('_type', $types); + $params = array('type' => '__VALUE__', + 'right' => 'update_ticket'); + + Ajax::updateItemOnSelectEvent("dropdown__type".$addrand,"visibility$rand", + $CFG_GLPI["root_doc"]."/ajax/visibility.php", + $params); + + echo ""; + echo "
"; + Html::closeForm(); + echo "
"; + } + + + echo "
"; + if ($canedit && $nb) { + Html::openMassiveActionsForm('mass'.__CLASS__.$rand); + $massiveactionparams + = array('num_displayed' + => $nb, + 'container' + => 'mass'.__CLASS__.$rand, + 'specific_actions' + => array('delete' => _x('button', 'Delete permanently')) ); + + Html::showMassiveActions($massiveactionparams); + } + echo ""; + $header_begin = ""; + $header_top = ''; + $header_bottom = ''; + $header_end = ''; + if ($canedit && $nb) { + $header_begin .= ""; + } + $header_end .= ""; + $header_end .= ""; + $header_end .= ""; + echo $header_begin.$header_top.$header_end; + + // Users + if (count($this->users)) { + foreach ($this->users as $key => $val) { + foreach ($val as $data) { + echo ""; + if ($canedit) { + echo ""; + } + echo ""; + echo ""; + echo ""; + } + } + } + + // Groups + if (count($this->groups)) { + foreach ($this->groups as $key => $val) { + foreach ($val as $data) { + echo ""; + if ($canedit) { + echo ""; + } + echo ""; + echo ""; + echo ""; + } + } + } + + // Entity + if (count($this->entities)) { + foreach ($this->entities as $key => $val) { + foreach ($val as $data) { + echo ""; + if ($canedit) { + echo ""; + } + echo ""; + echo ""; + echo ""; + } + } + } + + // Profiles + if (count($this->profiles)) { + foreach ($this->profiles as $key => $val) { + foreach ($val as $data) { + echo ""; + if ($canedit) { + echo ""; + } + echo ""; + echo ""; + echo ""; + } + } + } + if ($nb) { + echo $header_begin.$header_bottom.$header_end; + } + + echo "
"; + $header_top .= Html::getCheckAllAsCheckbox('mass'.__CLASS__.$rand); + $header_bottom .= Html::getCheckAllAsCheckbox('mass'.__CLASS__.$rand); + $header_end .= "".__('Type').""._n('Recipient', 'Recipients', 2)."
"; + Html::showMassiveActionCheckBox('SLA_User',$data["id"]); + echo "".__('User')."".getUserName($data['users_id'])."
"; + Html::showMassiveActionCheckBox('Group_SLA',$data["id"]); + echo "".__('Group').""; + $names = Dropdown::getDropdownName('glpi_groups', $data['groups_id'],1); + $groupname = sprintf(__('%1$s %2$s'), $names["name"], + Html::showToolTip($names["comment"], array('display' => false))); + if ($data['entities_id'] >= 0) { + $groupname = sprintf(__('%1$s / %2$s'), $groupname, + Dropdown::getDropdownName('glpi_entities', + $data['entities_id'])); + if ($data['is_recursive']) { + $groupname = sprintf(__('%1$s %2$s'), $groupname, + "(".__('R').")"); + } + } + echo $groupname; + echo "
"; + Html::showMassiveActionCheckBox('Entity_SLA',$data["id"]); + echo "".__('Entity').""; + $names = Dropdown::getDropdownName('glpi_entities', $data['entities_id'],1); + $entityname = sprintf(__('%1$s %2$s'), $names["name"], + Html::showToolTip($names["comment"], array('display' => false))); + if ($data['is_recursive']) { + $entityname = sprintf(__('%1$s %2$s'), $entityname, + "(".__('R').")"); + } + echo $entityname; + echo "
"; + Html::showMassiveActionCheckBox('SLA_Profile',$data["id"]); + echo ""._n('Profile', 'Profiles', 1).""; + $names = Dropdown::getDropdownName('glpi_profiles', $data['profiles_id'], 1); + $profilename = sprintf(__('%1$s %2$s'), $names["name"], + Html::showToolTip($names["comment"], array('display' => false))); + if ($data['entities_id'] >= 0) { + $profilename = sprintf(__('%1$s / %2$s'), $profilename, + Dropdown::getDropdownName('glpi_entities', + $data['entities_id'])); + if ($data['is_recursive']) { + $profilename = sprintf(__('%1$s %2$s'), $profilename, + "(".__('R').")"); + } + } + echo $profilename; + echo "
"; + if ($canedit && $nb) { + $massiveactionparams['ontop'] =false; + Html::showMassiveActions($massiveactionparams); + Html::closeForm(); + } + + echo "
"; + // Add items + + return true; + } + } ?> diff --git a/inc/sla_profile.class.php b/inc/sla_profile.class.php new file mode 100644 index 0000000..29fcd55 --- /dev/null +++ b/inc/sla_profile.class.php @@ -0,0 +1,74 @@ +. + -------------------------------------------------------------------------- + */ + +/** @file +* @brief +*/ + +if (!defined('GLPI_ROOT')) { + die("Sorry. You can't access directly to this file"); +} + +/// Class SLA_Profile +/// since version 0.86 +class SLA_Profile extends CommonDBRelation { + + // From CommonDBRelation + static public $itemtype_1 = 'SLA'; + static public $items_id_1 = 'slas_id'; + static public $itemtype_2 = 'Profile'; + static public $items_id_2 = 'profiles_id'; + + static public $checkItem_2_Rights = self::DONT_CHECK_ITEM_RIGHTS; + static public $logs_for_item_2 = false; + + + /** + * Get profiles for a SLA + * + * @param $slas_id ID of the SLA + * + * @return array of profiles linked to a SLA + **/ + static function getProfiles($slas_id) { + global $DB; + + $prof = array(); + $query = "SELECT `glpi_slas_profiles`.* + FROM `glpi_slas_profiles` + WHERE `slas_id` = '$slas_id'"; + + foreach ($DB->request($query) as $data) { + $prof[$data['profiles_id']][] = $data; + } + return $prof; + } + +} +?> \ No newline at end of file diff --git a/inc/sla_user.class.php b/inc/sla_user.class.php new file mode 100644 index 0000000..562bc27 --- /dev/null +++ b/inc/sla_user.class.php @@ -0,0 +1,74 @@ +. + -------------------------------------------------------------------------- + */ + +/** @file +* @brief +*/ + +if (!defined('GLPI_ROOT')) { + die("Sorry. You can't access directly to this file"); +} + +/// Class SLA_User +/// since version 0.86 +class SLA_User extends CommonDBRelation { + + // From CommonDBRelation + static public $itemtype_1 = 'SLA'; + static public $items_id_1 = 'sla_id'; + static public $itemtype_2 = 'User'; + static public $items_id_2 = 'users_id'; + + static public $checkItem_2_Rights = self::DONT_CHECK_ITEM_RIGHTS; + static public $logs_for_item_2 = false; + + + /** + * Get users for a SLA + * + * @param $slas_id ID of the SLA + * + * @return array of users linked to a SLA + **/ + static function getUsers($slas_id) { + global $DB; + + $users = array(); + $query = "SELECT `glpi_slas_users`.* + FROM `glpi_slas_users` + WHERE `slas_id` = '$slas_id'"; + + foreach ($DB->request($query) as $data) { + $users[$data['users_id']][] = $data; + } + return $users; + } + +} +?> \ No newline at end of file diff --git a/install/mysql/glpi-0.86-empty.sql b/install/mysql/glpi-0.86-empty.sql new file mode 100644 index 0000000..b497604 --- /dev/null +++ b/install/mysql/glpi-0.86-empty.sql @@ -0,0 +1,6881 @@ +#GLPI Dump database on 2014-04-16 16:48 + +### Dump table glpi_alerts + +DROP TABLE IF EXISTS `glpi_alerts`; +CREATE TABLE `glpi_alerts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php ALERT_* constant', + `date` datetime NOT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`itemtype`,`items_id`,`type`), + KEY `type` (`type`), + KEY `date` (`date`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_authldapreplicates + +DROP TABLE IF EXISTS `glpi_authldapreplicates`; +CREATE TABLE `glpi_authldapreplicates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `authldaps_id` int(11) NOT NULL DEFAULT '0', + `host` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `port` int(11) NOT NULL DEFAULT '389', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `authldaps_id` (`authldaps_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_authldaps + +DROP TABLE IF EXISTS `glpi_authldaps`; +CREATE TABLE `glpi_authldaps` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `host` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `basedn` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `rootdn` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `port` int(11) NOT NULL DEFAULT '389', + `condition` text COLLATE utf8_unicode_ci, + `login_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'uid', + `use_tls` tinyint(1) NOT NULL DEFAULT '0', + `group_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `group_condition` text COLLATE utf8_unicode_ci, + `group_search_type` int(11) NOT NULL DEFAULT '0', + `group_member_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `email1_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `realname_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `firstname_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phone_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phone2_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `mobile_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `use_dn` tinyint(1) NOT NULL DEFAULT '1', + `time_offset` int(11) NOT NULL DEFAULT '0' COMMENT 'in seconds', + `deref_option` int(11) NOT NULL DEFAULT '0', + `title_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `category_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `language_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entity_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entity_condition` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `is_default` tinyint(1) NOT NULL DEFAULT '0', + `is_active` tinyint(1) NOT NULL DEFAULT '0', + `rootdn_passwd` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `registration_number_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `email2_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `email3_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `email4_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `pagesize` int(11) NOT NULL DEFAULT '0', + `ldap_maxlimit` int(11) NOT NULL DEFAULT '0', + `can_support_pagesize` tinyint(1) NOT NULL DEFAULT '0', + `picture_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`), + KEY `is_default` (`is_default`), + KEY `is_active` (`is_active`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_authmails + +DROP TABLE IF EXISTS `glpi_authmails`; +CREATE TABLE `glpi_authmails` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `connect_string` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `host` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `is_active` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`), + KEY `is_active` (`is_active`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_autoupdatesystems + +DROP TABLE IF EXISTS `glpi_autoupdatesystems`; +CREATE TABLE `glpi_autoupdatesystems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_blacklistedmailcontents + +DROP TABLE IF EXISTS `glpi_blacklistedmailcontents`; +CREATE TABLE `glpi_blacklistedmailcontents` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `content` text COLLATE utf8_unicode_ci, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_blacklists + +DROP TABLE IF EXISTS `glpi_blacklists`; +CREATE TABLE `glpi_blacklists` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `type` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `type` (`type`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_blacklists` VALUES ('1','1','empty IP','',NULL); +INSERT INTO `glpi_blacklists` VALUES ('2','1','localhost','127.0.0.1',NULL); +INSERT INTO `glpi_blacklists` VALUES ('3','1','zero IP','0.0.0.0',NULL); +INSERT INTO `glpi_blacklists` VALUES ('4','2','empty MAC','',NULL); + +### Dump table glpi_bookmarks + +DROP TABLE IF EXISTS `glpi_bookmarks`; +CREATE TABLE `glpi_bookmarks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `type` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php BOOKMARK_* constant', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `is_private` tinyint(1) NOT NULL DEFAULT '1', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `path` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `query` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `type` (`type`), + KEY `itemtype` (`itemtype`), + KEY `entities_id` (`entities_id`), + KEY `users_id` (`users_id`), + KEY `is_private` (`is_private`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_bookmarks_users + +DROP TABLE IF EXISTS `glpi_bookmarks_users`; +CREATE TABLE `glpi_bookmarks_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `users_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `bookmarks_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`users_id`,`itemtype`), + KEY `bookmarks_id` (`bookmarks_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_budgets + +DROP TABLE IF EXISTS `glpi_budgets`; +CREATE TABLE `glpi_budgets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `begin_date` date DEFAULT NULL, + `end_date` date DEFAULT NULL, + `value` decimal(20,4) NOT NULL DEFAULT '0.0000', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_recursive` (`is_recursive`), + KEY `entities_id` (`entities_id`), + KEY `is_deleted` (`is_deleted`), + KEY `begin_date` (`begin_date`), + KEY `is_template` (`is_template`), + KEY `date_mod` (`date_mod`), + KEY `end_date` (`end_date`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_calendars + +DROP TABLE IF EXISTS `glpi_calendars`; +CREATE TABLE `glpi_calendars` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `cache_duration` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `date_mod` (`date_mod`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_calendars` VALUES ('1','Default','0','1','Default calendar',NULL,'[0,43200,43200,43200,43200,43200,0]'); + +### Dump table glpi_calendars_holidays + +DROP TABLE IF EXISTS `glpi_calendars_holidays`; +CREATE TABLE `glpi_calendars_holidays` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `calendars_id` int(11) NOT NULL DEFAULT '0', + `holidays_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`calendars_id`,`holidays_id`), + KEY `holidays_id` (`holidays_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_calendarsegments + +DROP TABLE IF EXISTS `glpi_calendarsegments`; +CREATE TABLE `glpi_calendarsegments` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `calendars_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `day` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'numer of the day based on date(w)', + `begin` time DEFAULT NULL, + `end` time DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `calendars_id` (`calendars_id`), + KEY `day` (`day`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_calendarsegments` VALUES ('1','1','0','0','1','08:00:00','20:00:00'); +INSERT INTO `glpi_calendarsegments` VALUES ('2','1','0','0','2','08:00:00','20:00:00'); +INSERT INTO `glpi_calendarsegments` VALUES ('3','1','0','0','3','08:00:00','20:00:00'); +INSERT INTO `glpi_calendarsegments` VALUES ('4','1','0','0','4','08:00:00','20:00:00'); +INSERT INTO `glpi_calendarsegments` VALUES ('5','1','0','0','5','08:00:00','20:00:00'); + +### Dump table glpi_cartridgeitems + +DROP TABLE IF EXISTS `glpi_cartridgeitems`; +CREATE TABLE `glpi_cartridgeitems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `ref` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `locations_id` int(11) NOT NULL DEFAULT '0', + `cartridgeitemtypes_id` int(11) NOT NULL DEFAULT '0', + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `alarm_threshold` int(11) NOT NULL DEFAULT '10', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `locations_id` (`locations_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `cartridgeitemtypes_id` (`cartridgeitemtypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `alarm_threshold` (`alarm_threshold`), + KEY `groups_id_tech` (`groups_id_tech`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_cartridgeitems_printermodels + +DROP TABLE IF EXISTS `glpi_cartridgeitems_printermodels`; +CREATE TABLE `glpi_cartridgeitems_printermodels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `cartridgeitems_id` int(11) NOT NULL DEFAULT '0', + `printermodels_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`printermodels_id`,`cartridgeitems_id`), + KEY `cartridgeitems_id` (`cartridgeitems_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_cartridgeitemtypes + +DROP TABLE IF EXISTS `glpi_cartridgeitemtypes`; +CREATE TABLE `glpi_cartridgeitemtypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_cartridges + +DROP TABLE IF EXISTS `glpi_cartridges`; +CREATE TABLE `glpi_cartridges` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `cartridgeitems_id` int(11) NOT NULL DEFAULT '0', + `printers_id` int(11) NOT NULL DEFAULT '0', + `date_in` date DEFAULT NULL, + `date_use` date DEFAULT NULL, + `date_out` date DEFAULT NULL, + `pages` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `cartridgeitems_id` (`cartridgeitems_id`), + KEY `printers_id` (`printers_id`), + KEY `entities_id` (`entities_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_changecosts + +DROP TABLE IF EXISTS `glpi_changecosts`; +CREATE TABLE `glpi_changecosts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `changes_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `begin_date` date DEFAULT NULL, + `end_date` date DEFAULT NULL, + `actiontime` int(11) NOT NULL DEFAULT '0', + `cost_time` decimal(20,4) NOT NULL DEFAULT '0.0000', + `cost_fixed` decimal(20,4) NOT NULL DEFAULT '0.0000', + `cost_material` decimal(20,4) NOT NULL DEFAULT '0.0000', + `budgets_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `changes_id` (`changes_id`), + KEY `begin_date` (`begin_date`), + KEY `end_date` (`end_date`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `budgets_id` (`budgets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_changes + +DROP TABLE IF EXISTS `glpi_changes`; +CREATE TABLE `glpi_changes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `status` int(11) NOT NULL DEFAULT '1', + `content` longtext COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date` datetime DEFAULT NULL, + `solvedate` datetime DEFAULT NULL, + `closedate` datetime DEFAULT NULL, + `due_date` datetime DEFAULT NULL, + `users_id_recipient` int(11) NOT NULL DEFAULT '0', + `users_id_lastupdater` int(11) NOT NULL DEFAULT '0', + `urgency` int(11) NOT NULL DEFAULT '1', + `impact` int(11) NOT NULL DEFAULT '1', + `priority` int(11) NOT NULL DEFAULT '1', + `itilcategories_id` int(11) NOT NULL DEFAULT '0', + `impactcontent` longtext COLLATE utf8_unicode_ci, + `controlistcontent` longtext COLLATE utf8_unicode_ci, + `rolloutplancontent` longtext COLLATE utf8_unicode_ci, + `backoutplancontent` longtext COLLATE utf8_unicode_ci, + `checklistcontent` longtext COLLATE utf8_unicode_ci, + `global_validation` int(11) NOT NULL DEFAULT '1', + `validation_percent` int(11) NOT NULL DEFAULT '0', + `solutiontypes_id` int(11) NOT NULL DEFAULT '0', + `solution` text COLLATE utf8_unicode_ci, + `actiontime` int(11) NOT NULL DEFAULT '0', + `begin_waiting_date` datetime DEFAULT NULL, + `waiting_duration` int(11) NOT NULL DEFAULT '0', + `close_delay_stat` int(11) NOT NULL DEFAULT '0', + `solve_delay_stat` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `is_deleted` (`is_deleted`), + KEY `date` (`date`), + KEY `closedate` (`closedate`), + KEY `status` (`status`), + KEY `priority` (`priority`), + KEY `date_mod` (`date_mod`), + KEY `itilcategories_id` (`itilcategories_id`), + KEY `users_id_recipient` (`users_id_recipient`), + KEY `solvedate` (`solvedate`), + KEY `solutiontypes_id` (`solutiontypes_id`), + KEY `urgency` (`urgency`), + KEY `impact` (`impact`), + KEY `due_date` (`due_date`), + KEY `global_validation` (`global_validation`), + KEY `users_id_lastupdater` (`users_id_lastupdater`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_changes_groups + +DROP TABLE IF EXISTS `glpi_changes_groups`; +CREATE TABLE `glpi_changes_groups` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `changes_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`changes_id`,`type`,`groups_id`), + KEY `group` (`groups_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_changes_items + +DROP TABLE IF EXISTS `glpi_changes_items`; +CREATE TABLE `glpi_changes_items` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `changes_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`changes_id`,`itemtype`,`items_id`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_changes_problems + +DROP TABLE IF EXISTS `glpi_changes_problems`; +CREATE TABLE `glpi_changes_problems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `changes_id` int(11) NOT NULL DEFAULT '0', + `problems_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`changes_id`,`problems_id`), + KEY `problems_id` (`problems_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_changes_projects + +DROP TABLE IF EXISTS `glpi_changes_projects`; +CREATE TABLE `glpi_changes_projects` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `changes_id` int(11) NOT NULL DEFAULT '0', + `projects_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`changes_id`,`projects_id`), + KEY `projects_id` (`projects_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_changes_suppliers + +DROP TABLE IF EXISTS `glpi_changes_suppliers`; +CREATE TABLE `glpi_changes_suppliers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `changes_id` int(11) NOT NULL DEFAULT '0', + `suppliers_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `use_notification` tinyint(1) NOT NULL DEFAULT '0', + `alternative_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`changes_id`,`type`,`suppliers_id`), + KEY `group` (`suppliers_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_changes_tickets + +DROP TABLE IF EXISTS `glpi_changes_tickets`; +CREATE TABLE `glpi_changes_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `changes_id` int(11) NOT NULL DEFAULT '0', + `tickets_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`changes_id`,`tickets_id`), + KEY `tickets_id` (`tickets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_changes_users + +DROP TABLE IF EXISTS `glpi_changes_users`; +CREATE TABLE `glpi_changes_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `changes_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `use_notification` tinyint(1) NOT NULL DEFAULT '0', + `alternative_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`changes_id`,`type`,`users_id`,`alternative_email`), + KEY `user` (`users_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_changetasks + +DROP TABLE IF EXISTS `glpi_changetasks`; +CREATE TABLE `glpi_changetasks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `changes_id` int(11) NOT NULL DEFAULT '0', + `changetasks_id` int(11) NOT NULL DEFAULT '0', + `is_blocked` tinyint(1) NOT NULL DEFAULT '0', + `taskcategories_id` int(11) NOT NULL DEFAULT '0', + `status` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority` int(11) NOT NULL DEFAULT '1', + `percentdone` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `begin` datetime DEFAULT NULL, + `end` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `content` longtext COLLATE utf8_unicode_ci, + `actiontime` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `changes_id` (`changes_id`), + KEY `changetasks_id` (`changetasks_id`), + KEY `is_blocked` (`is_blocked`), + KEY `priority` (`priority`), + KEY `status` (`status`), + KEY `percentdone` (`percentdone`), + KEY `users_id` (`users_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `date` (`date`), + KEY `begin` (`begin`), + KEY `end` (`end`), + KEY `taskcategories_id` (`taskcategories_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_changevalidations + +DROP TABLE IF EXISTS `glpi_changevalidations`; +CREATE TABLE `glpi_changevalidations` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `changes_id` int(11) NOT NULL DEFAULT '0', + `users_id_validate` int(11) NOT NULL DEFAULT '0', + `comment_submission` text COLLATE utf8_unicode_ci, + `comment_validation` text COLLATE utf8_unicode_ci, + `status` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'waiting', + `submission_date` datetime DEFAULT NULL, + `validation_date` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `users_id` (`users_id`), + KEY `users_id_validate` (`users_id_validate`), + KEY `changes_id` (`changes_id`), + KEY `submission_date` (`submission_date`), + KEY `validation_date` (`validation_date`), + KEY `status` (`status`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_computerdisks + +DROP TABLE IF EXISTS `glpi_computerdisks`; +CREATE TABLE `glpi_computerdisks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `computers_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `device` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `mountpoint` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `filesystems_id` int(11) NOT NULL DEFAULT '0', + `totalsize` int(11) NOT NULL DEFAULT '0', + `freesize` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `device` (`device`), + KEY `mountpoint` (`mountpoint`), + KEY `totalsize` (`totalsize`), + KEY `freesize` (`freesize`), + KEY `computers_id` (`computers_id`), + KEY `filesystems_id` (`filesystems_id`), + KEY `entities_id` (`entities_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_computermodels + +DROP TABLE IF EXISTS `glpi_computermodels`; +CREATE TABLE `glpi_computermodels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_computers + +DROP TABLE IF EXISTS `glpi_computers`; +CREATE TABLE `glpi_computers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `operatingsystems_id` int(11) NOT NULL DEFAULT '0', + `operatingsystemversions_id` int(11) NOT NULL DEFAULT '0', + `operatingsystemservicepacks_id` int(11) NOT NULL DEFAULT '0', + `os_license_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `os_licenseid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `autoupdatesystems_id` int(11) NOT NULL DEFAULT '0', + `locations_id` int(11) NOT NULL DEFAULT '0', + `domains_id` int(11) NOT NULL DEFAULT '0', + `networks_id` int(11) NOT NULL DEFAULT '0', + `computermodels_id` int(11) NOT NULL DEFAULT '0', + `computertypes_id` int(11) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `states_id` int(11) NOT NULL DEFAULT '0', + `ticket_tco` decimal(20,4) DEFAULT '0.0000', + `uuid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`), + KEY `name` (`name`), + KEY `is_template` (`is_template`), + KEY `autoupdatesystems_id` (`autoupdatesystems_id`), + KEY `domains_id` (`domains_id`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `groups_id` (`groups_id`), + KEY `users_id` (`users_id`), + KEY `locations_id` (`locations_id`), + KEY `computermodels_id` (`computermodels_id`), + KEY `networks_id` (`networks_id`), + KEY `operatingsystems_id` (`operatingsystems_id`), + KEY `operatingsystemservicepacks_id` (`operatingsystemservicepacks_id`), + KEY `operatingsystemversions_id` (`operatingsystemversions_id`), + KEY `states_id` (`states_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `computertypes_id` (`computertypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `is_dynamic` (`is_dynamic`), + KEY `serial` (`serial`), + KEY `otherserial` (`otherserial`), + KEY `uuid` (`uuid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_computers_items + +DROP TABLE IF EXISTS `glpi_computers_items`; +CREATE TABLE `glpi_computers_items` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0' COMMENT 'RELATION to various table, according to itemtype (ID)', + `computers_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `computers_id` (`computers_id`), + KEY `item` (`itemtype`,`items_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_computers_softwarelicenses + +DROP TABLE IF EXISTS `glpi_computers_softwarelicenses`; +CREATE TABLE `glpi_computers_softwarelicenses` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `computers_id` int(11) NOT NULL DEFAULT '0', + `softwarelicenses_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`computers_id`,`softwarelicenses_id`), + KEY `computers_id` (`computers_id`), + KEY `softwarelicenses_id` (`softwarelicenses_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_computers_softwareversions + +DROP TABLE IF EXISTS `glpi_computers_softwareversions`; +CREATE TABLE `glpi_computers_softwareversions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `computers_id` int(11) NOT NULL DEFAULT '0', + `softwareversions_id` int(11) NOT NULL DEFAULT '0', + `is_deleted_computer` tinyint(1) NOT NULL DEFAULT '0', + `is_template_computer` tinyint(1) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`computers_id`,`softwareversions_id`), + KEY `softwareversions_id` (`softwareversions_id`), + KEY `computers_info` (`entities_id`,`is_template_computer`,`is_deleted_computer`), + KEY `is_template` (`is_template_computer`), + KEY `is_deleted` (`is_deleted_computer`), + KEY `is_dynamic` (`is_dynamic`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_computertypes + +DROP TABLE IF EXISTS `glpi_computertypes`; +CREATE TABLE `glpi_computertypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_computervirtualmachines + +DROP TABLE IF EXISTS `glpi_computervirtualmachines`; +CREATE TABLE `glpi_computervirtualmachines` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `computers_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `virtualmachinestates_id` int(11) NOT NULL DEFAULT '0', + `virtualmachinesystems_id` int(11) NOT NULL DEFAULT '0', + `virtualmachinetypes_id` int(11) NOT NULL DEFAULT '0', + `uuid` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `vcpu` int(11) NOT NULL DEFAULT '0', + `ram` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `computers_id` (`computers_id`), + KEY `entities_id` (`entities_id`), + KEY `name` (`name`), + KEY `virtualmachinestates_id` (`virtualmachinestates_id`), + KEY `virtualmachinesystems_id` (`virtualmachinesystems_id`), + KEY `vcpu` (`vcpu`), + KEY `ram` (`ram`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `uuid` (`uuid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_configs + +DROP TABLE IF EXISTS `glpi_configs`; +CREATE TABLE `glpi_configs` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `context` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL, + `name` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`context`,`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_configs` VALUES ('1','core','version','0.85'); +INSERT INTO `glpi_configs` VALUES ('2','core','show_jobs_at_login','0'); +INSERT INTO `glpi_configs` VALUES ('3','core','cut','250'); +INSERT INTO `glpi_configs` VALUES ('4','core','list_limit','15'); +INSERT INTO `glpi_configs` VALUES ('5','core','list_limit_max','50'); +INSERT INTO `glpi_configs` VALUES ('6','core','url_maxlength','30'); +INSERT INTO `glpi_configs` VALUES ('7','core','event_loglevel','5'); +INSERT INTO `glpi_configs` VALUES ('8','core','use_mailing','0'); +INSERT INTO `glpi_configs` VALUES ('9','core','admin_email','admsys@localhost'); +INSERT INTO `glpi_configs` VALUES ('10','core','admin_email_name',''); +INSERT INTO `glpi_configs` VALUES ('11','core','admin_reply',''); +INSERT INTO `glpi_configs` VALUES ('12','core','admin_reply_name',''); +INSERT INTO `glpi_configs` VALUES ('13','core','mailing_signature','SIGNATURE'); +INSERT INTO `glpi_configs` VALUES ('14','core','use_anonymous_helpdesk','0'); +INSERT INTO `glpi_configs` VALUES ('15','core','use_anonymous_followups','0'); +INSERT INTO `glpi_configs` VALUES ('16','core','language','en_GB'); +INSERT INTO `glpi_configs` VALUES ('17','core','priority_1','#fff2f2'); +INSERT INTO `glpi_configs` VALUES ('18','core','priority_2','#ffe0e0'); +INSERT INTO `glpi_configs` VALUES ('19','core','priority_3','#ffcece'); +INSERT INTO `glpi_configs` VALUES ('20','core','priority_4','#ffbfbf'); +INSERT INTO `glpi_configs` VALUES ('21','core','priority_5','#ffadad'); +INSERT INTO `glpi_configs` VALUES ('22','core','priority_6','#ff5555'); +INSERT INTO `glpi_configs` VALUES ('23','core','date_tax','2005-12-31'); +INSERT INTO `glpi_configs` VALUES ('24','core','cas_host',''); +INSERT INTO `glpi_configs` VALUES ('25','core','cas_port','443'); +INSERT INTO `glpi_configs` VALUES ('26','core','cas_uri',''); +INSERT INTO `glpi_configs` VALUES ('27','core','cas_logout',''); +INSERT INTO `glpi_configs` VALUES ('28','core','existing_auth_server_field_clean_domain','0'); +INSERT INTO `glpi_configs` VALUES ('29','core','planning_begin','08:00:00'); +INSERT INTO `glpi_configs` VALUES ('30','core','planning_end','20:00:00'); +INSERT INTO `glpi_configs` VALUES ('31','core','utf8_conv','1'); +INSERT INTO `glpi_configs` VALUES ('32','core','use_public_faq','0'); +INSERT INTO `glpi_configs` VALUES ('33','core','url_base','http://localhost/glpi/'); +INSERT INTO `glpi_configs` VALUES ('34','core','show_link_in_mail','0'); +INSERT INTO `glpi_configs` VALUES ('35','core','text_login',''); +INSERT INTO `glpi_configs` VALUES ('36','core','founded_new_version',''); +INSERT INTO `glpi_configs` VALUES ('37','core','dropdown_max','100'); +INSERT INTO `glpi_configs` VALUES ('38','core','ajax_wildcard','*'); +INSERT INTO `glpi_configs` VALUES ('151','core','use_rich_text','0'); +INSERT INTO `glpi_configs` VALUES ('150','core','maintenance_text',''); +INSERT INTO `glpi_configs` VALUES ('149','core','maintenance_mode','0'); +INSERT INTO `glpi_configs` VALUES ('42','core','ajax_limit_count','50'); +INSERT INTO `glpi_configs` VALUES ('43','core','use_ajax_autocompletion','1'); +INSERT INTO `glpi_configs` VALUES ('44','core','is_users_auto_add','1'); +INSERT INTO `glpi_configs` VALUES ('45','core','date_format','0'); +INSERT INTO `glpi_configs` VALUES ('46','core','number_format','0'); +INSERT INTO `glpi_configs` VALUES ('47','core','csv_delimiter',';'); +INSERT INTO `glpi_configs` VALUES ('48','core','is_ids_visible','0'); +INSERT INTO `glpi_configs` VALUES ('49','core','dropdown_chars_limit','50'); +INSERT INTO `glpi_configs` VALUES ('50','core','smtp_mode','0'); +INSERT INTO `glpi_configs` VALUES ('51','core','smtp_host',''); +INSERT INTO `glpi_configs` VALUES ('52','core','smtp_port','25'); +INSERT INTO `glpi_configs` VALUES ('53','core','smtp_username',''); +INSERT INTO `glpi_configs` VALUES ('54','core','proxy_name',''); +INSERT INTO `glpi_configs` VALUES ('55','core','proxy_port','8080'); +INSERT INTO `glpi_configs` VALUES ('56','core','proxy_user',''); +INSERT INTO `glpi_configs` VALUES ('57','core','add_followup_on_update_ticket','1'); +INSERT INTO `glpi_configs` VALUES ('58','core','keep_tickets_on_delete','0'); +INSERT INTO `glpi_configs` VALUES ('59','core','time_step','5'); +INSERT INTO `glpi_configs` VALUES ('60','core','decimal_number','2'); +INSERT INTO `glpi_configs` VALUES ('61','core','helpdesk_doc_url',''); +INSERT INTO `glpi_configs` VALUES ('62','core','central_doc_url',''); +INSERT INTO `glpi_configs` VALUES ('63','core','documentcategories_id_forticket','0'); +INSERT INTO `glpi_configs` VALUES ('64','core','monitors_management_restrict','2'); +INSERT INTO `glpi_configs` VALUES ('65','core','phones_management_restrict','2'); +INSERT INTO `glpi_configs` VALUES ('66','core','peripherals_management_restrict','2'); +INSERT INTO `glpi_configs` VALUES ('67','core','printers_management_restrict','2'); +INSERT INTO `glpi_configs` VALUES ('68','core','use_log_in_files','1'); +INSERT INTO `glpi_configs` VALUES ('69','core','time_offset','0'); +INSERT INTO `glpi_configs` VALUES ('70','core','is_contact_autoupdate','1'); +INSERT INTO `glpi_configs` VALUES ('71','core','is_user_autoupdate','1'); +INSERT INTO `glpi_configs` VALUES ('72','core','is_group_autoupdate','1'); +INSERT INTO `glpi_configs` VALUES ('73','core','is_location_autoupdate','1'); +INSERT INTO `glpi_configs` VALUES ('74','core','state_autoupdate_mode','0'); +INSERT INTO `glpi_configs` VALUES ('75','core','is_contact_autoclean','0'); +INSERT INTO `glpi_configs` VALUES ('76','core','is_user_autoclean','0'); +INSERT INTO `glpi_configs` VALUES ('77','core','is_group_autoclean','0'); +INSERT INTO `glpi_configs` VALUES ('78','core','is_location_autoclean','0'); +INSERT INTO `glpi_configs` VALUES ('79','core','state_autoclean_mode','0'); +INSERT INTO `glpi_configs` VALUES ('80','core','use_flat_dropdowntree','0'); +INSERT INTO `glpi_configs` VALUES ('81','core','use_autoname_by_entity','1'); +INSERT INTO `glpi_configs` VALUES ('148','core','keep_devices_when_purging_item','0'); +INSERT INTO `glpi_configs` VALUES ('147','core','pdffont','helvetica'); +INSERT INTO `glpi_configs` VALUES ('84','core','softwarecategories_id_ondelete','1'); +INSERT INTO `glpi_configs` VALUES ('85','core','x509_email_field',''); +INSERT INTO `glpi_configs` VALUES ('86','core','x509_cn_restrict',''); +INSERT INTO `glpi_configs` VALUES ('87','core','x509_o_restrict',''); +INSERT INTO `glpi_configs` VALUES ('88','core','x509_ou_restrict',''); +INSERT INTO `glpi_configs` VALUES ('89','core','default_mailcollector_filesize_max','2097152'); +INSERT INTO `glpi_configs` VALUES ('90','core','followup_private','0'); +INSERT INTO `glpi_configs` VALUES ('91','core','task_private','0'); +INSERT INTO `glpi_configs` VALUES ('92','core','default_software_helpdesk_visible','1'); +INSERT INTO `glpi_configs` VALUES ('93','core','names_format','0'); +INSERT INTO `glpi_configs` VALUES ('94','core','default_graphtype','svg'); +INSERT INTO `glpi_configs` VALUES ('95','core','default_requesttypes_id','1'); +INSERT INTO `glpi_configs` VALUES ('96','core','use_noright_users_add','1'); +INSERT INTO `glpi_configs` VALUES ('97','core','cron_limit','1'); +INSERT INTO `glpi_configs` VALUES ('98','core','priority_matrix','{\"1\":{\"1\":1,\"2\":1,\"3\":2,\"4\":2,\"5\":2},\"2\":{\"1\":1,\"2\":2,\"3\":2,\"4\":3,\"5\":3},\"3\":{\"1\":2,\"2\":2,\"3\":3,\"4\":4,\"5\":4},\"4\":{\"1\":2,\"2\":3,\"3\":4,\"4\":4,\"5\":5},\"5\":{\"1\":2,\"2\":3,\"3\":4,\"4\":5,\"5\":5}}'); +INSERT INTO `glpi_configs` VALUES ('99','core','urgency_mask','62'); +INSERT INTO `glpi_configs` VALUES ('100','core','impact_mask','62'); +INSERT INTO `glpi_configs` VALUES ('101','core','user_deleted_ldap','0'); +INSERT INTO `glpi_configs` VALUES ('102','core','auto_create_infocoms','0'); +INSERT INTO `glpi_configs` VALUES ('103','core','use_slave_for_search','0'); +INSERT INTO `glpi_configs` VALUES ('104','core','proxy_passwd',''); +INSERT INTO `glpi_configs` VALUES ('105','core','smtp_passwd',''); +INSERT INTO `glpi_configs` VALUES ('106','core','transfers_id_auto','0'); +INSERT INTO `glpi_configs` VALUES ('107','core','show_count_on_tabs','1'); +INSERT INTO `glpi_configs` VALUES ('108','core','refresh_ticket_list','0'); +INSERT INTO `glpi_configs` VALUES ('109','core','set_default_tech','1'); +INSERT INTO `glpi_configs` VALUES ('110','core','allow_search_view','2'); +INSERT INTO `glpi_configs` VALUES ('111','core','allow_search_all','1'); +INSERT INTO `glpi_configs` VALUES ('112','core','allow_search_global','1'); +INSERT INTO `glpi_configs` VALUES ('113','core','display_count_on_home','5'); +INSERT INTO `glpi_configs` VALUES ('114','core','use_password_security','0'); +INSERT INTO `glpi_configs` VALUES ('115','core','password_min_length','8'); +INSERT INTO `glpi_configs` VALUES ('116','core','password_need_number','1'); +INSERT INTO `glpi_configs` VALUES ('117','core','password_need_letter','1'); +INSERT INTO `glpi_configs` VALUES ('118','core','password_need_caps','1'); +INSERT INTO `glpi_configs` VALUES ('119','core','password_need_symbol','1'); +INSERT INTO `glpi_configs` VALUES ('120','core','use_check_pref','0'); +INSERT INTO `glpi_configs` VALUES ('121','core','notification_to_myself','1'); +INSERT INTO `glpi_configs` VALUES ('122','core','duedateok_color','#06ff00'); +INSERT INTO `glpi_configs` VALUES ('123','core','duedatewarning_color','#ffb800'); +INSERT INTO `glpi_configs` VALUES ('124','core','duedatecritical_color','#ff0000'); +INSERT INTO `glpi_configs` VALUES ('125','core','duedatewarning_less','20'); +INSERT INTO `glpi_configs` VALUES ('126','core','duedatecritical_less','5'); +INSERT INTO `glpi_configs` VALUES ('127','core','duedatewarning_unit','%'); +INSERT INTO `glpi_configs` VALUES ('128','core','duedatecritical_unit','%'); +INSERT INTO `glpi_configs` VALUES ('129','core','realname_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('130','core','firstname_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('131','core','email1_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('132','core','email2_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('133','core','email3_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('134','core','email4_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('135','core','phone_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('136','core','phone2_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('137','core','mobile_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('138','core','comment_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('139','core','title_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('140','core','category_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('141','core','language_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('142','core','entity_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('143','core','registration_number_ssofield',''); +INSERT INTO `glpi_configs` VALUES ('144','core','ssovariables_id','0'); +INSERT INTO `glpi_configs` VALUES ('145','core','translate_kb','0'); +INSERT INTO `glpi_configs` VALUES ('146','core','translate_dropdowns','0'); +INSERT INTO `glpi_configs` VALUES ('152','core','attach_ticket_documents_to_mail','0'); +INSERT INTO `glpi_configs` VALUES ('153','core','backcreated','0'); + +### Dump table glpi_consumableitems + +DROP TABLE IF EXISTS `glpi_consumableitems`; +CREATE TABLE `glpi_consumableitems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `ref` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `locations_id` int(11) NOT NULL DEFAULT '0', + `consumableitemtypes_id` int(11) NOT NULL DEFAULT '0', + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `alarm_threshold` int(11) NOT NULL DEFAULT '10', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `locations_id` (`locations_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `consumableitemtypes_id` (`consumableitemtypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `alarm_threshold` (`alarm_threshold`), + KEY `groups_id_tech` (`groups_id_tech`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_consumableitemtypes + +DROP TABLE IF EXISTS `glpi_consumableitemtypes`; +CREATE TABLE `glpi_consumableitemtypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_consumables + +DROP TABLE IF EXISTS `glpi_consumables`; +CREATE TABLE `glpi_consumables` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `consumableitems_id` int(11) NOT NULL DEFAULT '0', + `date_in` date DEFAULT NULL, + `date_out` date DEFAULT NULL, + `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `date_in` (`date_in`), + KEY `date_out` (`date_out`), + KEY `consumableitems_id` (`consumableitems_id`), + KEY `entities_id` (`entities_id`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_contacts + +DROP TABLE IF EXISTS `glpi_contacts`; +CREATE TABLE `glpi_contacts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `firstname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phone` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phone2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `mobile` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `fax` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contacttypes_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `usertitles_id` int(11) NOT NULL DEFAULT '0', + `address` text COLLATE utf8_unicode_ci, + `postcode` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `town` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `country` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `contacttypes_id` (`contacttypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `usertitles_id` (`usertitles_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_contacts_suppliers + +DROP TABLE IF EXISTS `glpi_contacts_suppliers`; +CREATE TABLE `glpi_contacts_suppliers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `suppliers_id` int(11) NOT NULL DEFAULT '0', + `contacts_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`suppliers_id`,`contacts_id`), + KEY `contacts_id` (`contacts_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_contacttypes + +DROP TABLE IF EXISTS `glpi_contacttypes`; +CREATE TABLE `glpi_contacttypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_contractcosts + +DROP TABLE IF EXISTS `glpi_contractcosts`; +CREATE TABLE `glpi_contractcosts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `contracts_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `begin_date` date DEFAULT NULL, + `end_date` date DEFAULT NULL, + `cost` decimal(20,4) NOT NULL DEFAULT '0.0000', + `budgets_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `contracts_id` (`contracts_id`), + KEY `begin_date` (`begin_date`), + KEY `end_date` (`end_date`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `budgets_id` (`budgets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_contracts + +DROP TABLE IF EXISTS `glpi_contracts`; +CREATE TABLE `glpi_contracts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contracttypes_id` int(11) NOT NULL DEFAULT '0', + `begin_date` date DEFAULT NULL, + `duration` int(11) NOT NULL DEFAULT '0', + `notice` int(11) NOT NULL DEFAULT '0', + `periodicity` int(11) NOT NULL DEFAULT '0', + `billing` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `accounting_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `week_begin_hour` time NOT NULL DEFAULT '00:00:00', + `week_end_hour` time NOT NULL DEFAULT '00:00:00', + `saturday_begin_hour` time NOT NULL DEFAULT '00:00:00', + `saturday_end_hour` time NOT NULL DEFAULT '00:00:00', + `use_saturday` tinyint(1) NOT NULL DEFAULT '0', + `monday_begin_hour` time NOT NULL DEFAULT '00:00:00', + `monday_end_hour` time NOT NULL DEFAULT '00:00:00', + `use_monday` tinyint(1) NOT NULL DEFAULT '0', + `max_links_allowed` int(11) NOT NULL DEFAULT '0', + `alert` int(11) NOT NULL DEFAULT '0', + `renewal` int(11) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_template` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `begin_date` (`begin_date`), + KEY `name` (`name`), + KEY `contracttypes_id` (`contracttypes_id`), + KEY `entities_id` (`entities_id`), + KEY `is_deleted` (`is_deleted`), + KEY `use_monday` (`use_monday`), + KEY `use_saturday` (`use_saturday`), + KEY `alert` (`alert`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_contracts_items + +DROP TABLE IF EXISTS `glpi_contracts_items`; +CREATE TABLE `glpi_contracts_items` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `contracts_id` int(11) NOT NULL DEFAULT '0', + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`contracts_id`,`itemtype`,`items_id`), + KEY `FK_device` (`items_id`,`itemtype`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_contracts_suppliers + +DROP TABLE IF EXISTS `glpi_contracts_suppliers`; +CREATE TABLE `glpi_contracts_suppliers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `suppliers_id` int(11) NOT NULL DEFAULT '0', + `contracts_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`suppliers_id`,`contracts_id`), + KEY `contracts_id` (`contracts_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_contracttypes + +DROP TABLE IF EXISTS `glpi_contracttypes`; +CREATE TABLE `glpi_contracttypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_crontasklogs + +DROP TABLE IF EXISTS `glpi_crontasklogs`; +CREATE TABLE `glpi_crontasklogs` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `crontasks_id` int(11) NOT NULL, + `crontasklogs_id` int(11) NOT NULL COMMENT 'id of ''start'' event', + `date` datetime NOT NULL, + `state` int(11) NOT NULL COMMENT '0:start, 1:run, 2:stop', + `elapsed` float NOT NULL COMMENT 'time elapsed since start', + `volume` int(11) NOT NULL COMMENT 'for statistics', + `content` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'message', + PRIMARY KEY (`id`), + KEY `date` (`date`), + KEY `crontasks_id` (`crontasks_id`), + KEY `crontasklogs_id_state` (`crontasklogs_id`,`state`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_crontasks + +DROP TABLE IF EXISTS `glpi_crontasks`; +CREATE TABLE `glpi_crontasks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `name` varchar(150) COLLATE utf8_unicode_ci NOT NULL COMMENT 'task name', + `frequency` int(11) NOT NULL COMMENT 'second between launch', + `param` int(11) DEFAULT NULL COMMENT 'task specify parameter', + `state` int(11) NOT NULL DEFAULT '1' COMMENT '0:disabled, 1:waiting, 2:running', + `mode` int(11) NOT NULL DEFAULT '1' COMMENT '1:internal, 2:external', + `allowmode` int(11) NOT NULL DEFAULT '3' COMMENT '1:internal, 2:external, 3:both', + `hourmin` int(11) NOT NULL DEFAULT '0', + `hourmax` int(11) NOT NULL DEFAULT '24', + `logs_lifetime` int(11) NOT NULL DEFAULT '30' COMMENT 'number of days', + `lastrun` datetime DEFAULT NULL COMMENT 'last run date', + `lastcode` int(11) DEFAULT NULL COMMENT 'last run return code', + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`itemtype`,`name`), + KEY `mode` (`mode`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Task run by internal / external cron.'; + +INSERT INTO `glpi_crontasks` VALUES ('2','CartridgeItem','cartridge','86400','10','0','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('3','ConsumableItem','consumable','86400','10','0','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('4','SoftwareLicense','software','86400',NULL,'0','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('5','Contract','contract','86400',NULL,'1','1','3','0','24','30','2010-05-06 09:31:02',NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('6','InfoCom','infocom','86400',NULL,'1','1','3','0','24','30','2011-01-18 11:40:43',NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('7','CronTask','logs','86400','30','0','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('8','CronTask','optimize','604800',NULL,'1','1','3','0','24','30','2011-03-04 11:35:21',NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('9','MailCollector','mailgate','600','10','1','1','3','0','24','30','2011-06-28 11:34:37',NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('10','DBconnection','checkdbreplicate','300',NULL,'0','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('11','CronTask','checkupdate','604800',NULL,'0','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('12','CronTask','session','86400',NULL,'1','1','3','0','24','30','2011-08-30 08:22:27',NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('13','CronTask','graph','3600',NULL,'1','1','3','0','24','30','2011-12-06 09:48:42',NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('14','ReservationItem','reservation','3600',NULL,'1','1','3','0','24','30','2012-04-05 20:31:57',NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('15','Ticket','closeticket','43200',NULL,'1','1','3','0','24','30','2014-01-15 14:35:00',NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('16','Ticket','alertnotclosed','43200',NULL,'1','1','3','0','24','30','2014-04-16 16:47:00',NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('17','SlaLevel_Ticket','slaticket','300',NULL,'1','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('18','Ticket','createinquest','86400',NULL,'1','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('19','Crontask','watcher','86400',NULL,'1','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('20','TicketRecurrent','ticketrecurrent','3600',NULL,'1','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('21','PlanningRecall','planningrecall','300',NULL,'1','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('22','QueuedMail','queuedmail','60','50','1','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('23','QueuedMail','queuedmailclean','86400','30','1','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('24','Crontask','temp','3600',NULL,'1','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('25','MailCollector','mailgateerror','86400',NULL,'1','1','3','0','24','30',NULL,NULL,NULL); +INSERT INTO `glpi_crontasks` VALUES ('26','Crontask','circularlogs','86400','4','0','1','3','0','24','30',NULL,NULL,NULL); + +### Dump table glpi_devicecases + +DROP TABLE IF EXISTS `glpi_devicecases`; +CREATE TABLE `glpi_devicecases` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `devicecasetypes_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `designation` (`designation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `devicecasetypes_id` (`devicecasetypes_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_devicecasetypes + +DROP TABLE IF EXISTS `glpi_devicecasetypes`; +CREATE TABLE `glpi_devicecasetypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_devicecontrols + +DROP TABLE IF EXISTS `glpi_devicecontrols`; +CREATE TABLE `glpi_devicecontrols` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_raid` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `interfacetypes_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `designation` (`designation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `interfacetypes_id` (`interfacetypes_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_devicedrives + +DROP TABLE IF EXISTS `glpi_devicedrives`; +CREATE TABLE `glpi_devicedrives` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_writer` tinyint(1) NOT NULL DEFAULT '1', + `speed` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `interfacetypes_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `designation` (`designation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `interfacetypes_id` (`interfacetypes_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_devicegraphiccards + +DROP TABLE IF EXISTS `glpi_devicegraphiccards`; +CREATE TABLE `glpi_devicegraphiccards` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `interfacetypes_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `memory_default` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `chipset` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `designation` (`designation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `interfacetypes_id` (`interfacetypes_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `chipset` (`chipset`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_deviceharddrives + +DROP TABLE IF EXISTS `glpi_deviceharddrives`; +CREATE TABLE `glpi_deviceharddrives` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `rpm` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `interfacetypes_id` int(11) NOT NULL DEFAULT '0', + `cache` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `capacity_default` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `designation` (`designation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `interfacetypes_id` (`interfacetypes_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_devicememories + +DROP TABLE IF EXISTS `glpi_devicememories`; +CREATE TABLE `glpi_devicememories` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `frequence` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `size_default` int(11) NOT NULL DEFAULT '0', + `devicememorytypes_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `designation` (`designation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `devicememorytypes_id` (`devicememorytypes_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_devicememorytypes + +DROP TABLE IF EXISTS `glpi_devicememorytypes`; +CREATE TABLE `glpi_devicememorytypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_devicememorytypes` VALUES ('1','EDO',NULL); +INSERT INTO `glpi_devicememorytypes` VALUES ('2','DDR',NULL); +INSERT INTO `glpi_devicememorytypes` VALUES ('3','SDRAM',NULL); +INSERT INTO `glpi_devicememorytypes` VALUES ('4','SDRAM-2',NULL); + +### Dump table glpi_devicemotherboards + +DROP TABLE IF EXISTS `glpi_devicemotherboards`; +CREATE TABLE `glpi_devicemotherboards` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `chipset` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `designation` (`designation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_devicenetworkcards + +DROP TABLE IF EXISTS `glpi_devicenetworkcards`; +CREATE TABLE `glpi_devicenetworkcards` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `bandwidth` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `mac_default` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `designation` (`designation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_devicepcis + +DROP TABLE IF EXISTS `glpi_devicepcis`; +CREATE TABLE `glpi_devicepcis` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `designation` (`designation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_devicepowersupplies + +DROP TABLE IF EXISTS `glpi_devicepowersupplies`; +CREATE TABLE `glpi_devicepowersupplies` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `power` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_atx` tinyint(1) NOT NULL DEFAULT '1', + `comment` text COLLATE utf8_unicode_ci, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `designation` (`designation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_deviceprocessors + +DROP TABLE IF EXISTS `glpi_deviceprocessors`; +CREATE TABLE `glpi_deviceprocessors` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `frequence` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `frequency_default` int(11) NOT NULL DEFAULT '0', + `nbcores_default` int(11) DEFAULT NULL, + `nbthreads_default` int(11) DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `designation` (`designation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_devicesoundcards + +DROP TABLE IF EXISTS `glpi_devicesoundcards`; +CREATE TABLE `glpi_devicesoundcards` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `designation` (`designation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_displaypreferences + +DROP TABLE IF EXISTS `glpi_displaypreferences`; +CREATE TABLE `glpi_displaypreferences` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `num` int(11) NOT NULL DEFAULT '0', + `rank` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`users_id`,`itemtype`,`num`), + KEY `rank` (`rank`), + KEY `num` (`num`), + KEY `itemtype` (`itemtype`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_displaypreferences` VALUES ('32','Computer','4','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('34','Computer','45','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('33','Computer','40','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('31','Computer','5','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('30','Computer','23','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('86','DocumentType','3','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('49','Monitor','31','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('50','Monitor','23','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('51','Monitor','3','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('52','Monitor','4','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('44','Printer','31','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('38','NetworkEquipment','31','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('39','NetworkEquipment','23','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('45','Printer','23','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('46','Printer','3','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('63','Software','4','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('62','Software','5','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('61','Software','23','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('83','CartridgeItem','4','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('82','CartridgeItem','34','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('57','Peripheral','3','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('56','Peripheral','23','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('55','Peripheral','31','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('29','Computer','31','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('35','Computer','3','7','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('36','Computer','19','8','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('37','Computer','17','9','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('40','NetworkEquipment','3','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('41','NetworkEquipment','4','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('42','NetworkEquipment','11','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('43','NetworkEquipment','19','7','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('47','Printer','4','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('48','Printer','19','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('53','Monitor','19','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('54','Monitor','7','7','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('58','Peripheral','4','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('59','Peripheral','19','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('60','Peripheral','7','7','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('64','Contact','3','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('65','Contact','4','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('66','Contact','5','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('67','Contact','6','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('68','Contact','9','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('69','Supplier','9','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('70','Supplier','3','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('71','Supplier','4','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('72','Supplier','5','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('73','Supplier','10','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('74','Supplier','6','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('75','Contract','4','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('76','Contract','3','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('77','Contract','5','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('78','Contract','6','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('79','Contract','7','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('80','Contract','11','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('84','CartridgeItem','23','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('85','CartridgeItem','3','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('88','DocumentType','6','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('89','DocumentType','4','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('90','DocumentType','5','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('91','Document','3','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('92','Document','4','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('93','Document','7','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('94','Document','5','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('95','Document','16','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('96','User','34','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('98','User','5','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('99','User','6','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('100','User','3','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('101','ConsumableItem','34','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('102','ConsumableItem','4','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('103','ConsumableItem','23','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('104','ConsumableItem','3','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('105','NetworkEquipment','40','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('106','Printer','40','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('107','Monitor','40','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('108','Peripheral','40','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('109','User','8','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('110','Phone','31','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('111','Phone','23','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('112','Phone','3','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('113','Phone','4','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('114','Phone','40','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('115','Phone','19','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('116','Phone','7','7','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('117','Group','16','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('118','AllAssets','31','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('119','ReservationItem','4','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('120','ReservationItem','3','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('125','Budget','3','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('122','Software','72','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('123','Software','163','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('124','Budget','5','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('126','Budget','4','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('127','Budget','19','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('128','Crontask','8','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('129','Crontask','3','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('130','Crontask','4','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('131','Crontask','7','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('132','RequestType','14','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('133','RequestType','15','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('134','NotificationTemplate','4','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('135','NotificationTemplate','16','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('136','Notification','5','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('137','Notification','6','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('138','Notification','2','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('139','Notification','4','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('140','Notification','80','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('141','Notification','86','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('142','MailCollector','2','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('143','MailCollector','19','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('144','AuthLDAP','3','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('145','AuthLDAP','19','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('146','AuthMail','3','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('147','AuthMail','19','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('210','IPNetwork','14','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('209','WifiNetwork','10','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('150','Profile','2','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('151','Profile','3','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('152','Profile','19','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('153','Transfer','19','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('154','TicketValidation','3','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('155','TicketValidation','2','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('156','TicketValidation','8','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('157','TicketValidation','4','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('158','TicketValidation','9','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('159','TicketValidation','7','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('160','NotImportedEmail','2','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('161','NotImportedEmail','5','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('162','NotImportedEmail','4','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('163','NotImportedEmail','6','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('164','NotImportedEmail','16','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('165','NotImportedEmail','19','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('166','RuleRightParameter','11','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('167','Ticket','12','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('168','Ticket','19','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('169','Ticket','15','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('170','Ticket','3','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('171','Ticket','4','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('172','Ticket','5','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('173','Ticket','7','7','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('174','Calendar','19','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('175','Holiday','11','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('176','Holiday','12','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('177','Holiday','13','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('178','SLA','4','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('179','Ticket','18','8','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('180','AuthLdap','30','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('181','AuthMail','6','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('208','FQDN','11','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('183','FieldUnicity','1','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('184','FieldUnicity','80','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('185','FieldUnicity','4','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('186','FieldUnicity','3','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('187','FieldUnicity','86','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('188','FieldUnicity','30','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('189','Problem','21','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('190','Problem','12','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('191','Problem','19','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('192','Problem','15','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('193','Problem','3','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('194','Problem','7','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('195','Problem','18','7','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('196','Vlan','11','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('197','TicketRecurrent','11','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('198','TicketRecurrent','12','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('199','TicketRecurrent','13','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('200','TicketRecurrent','15','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('201','TicketRecurrent','14','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('202','Reminder','2','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('203','Reminder','3','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('204','Reminder','4','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('205','Reminder','5','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('206','Reminder','6','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('207','Reminder','7','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('211','IPNetwork','10','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('212','IPNetwork','11','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('213','IPNetwork','12','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('214','IPNetwork','13','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('215','NetworkName','12','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('216','NetworkName','13','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('217','RSSFeed','2','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('218','RSSFeed','4','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('219','RSSFeed','5','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('220','RSSFeed','19','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('221','RSSFeed','6','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('222','RSSFeed','7','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('223','Blacklist','12','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('224','Blacklist','11','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('225','ReservationItem','5','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('226','QueueMail','16','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('227','QueueMail','7','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('228','QueueMail','20','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('229','QueueMail','21','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('230','QueueMail','22','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('231','QueueMail','15','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('232','Change','12','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('233','Change','19','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('234','Change','15','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('235','Change','7','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('236','Change','18','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('237','Project','3','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('238','Project','4','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('239','Project','12','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('240','Project','5','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('241','Project','15','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('242','Project','21','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('243','ProjectState','12','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('244','ProjectState','11','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('245','ProjectTask','2','1','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('246','ProjectTask','12','2','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('247','ProjectTask','14','3','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('248','ProjectTask','5','4','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('249','ProjectTask','7','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('250','ProjectTask','8','6','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('251','ProjectTask','13','7','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('252','CartridgeItem','9','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('253','ConsumableItem','9','5','0'); +INSERT INTO `glpi_displaypreferences` VALUES ('254','ReservationItem','9','4','0'); + +### Dump table glpi_documentcategories + +DROP TABLE IF EXISTS `glpi_documentcategories`; +CREATE TABLE `glpi_documentcategories` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `documentcategories_id` int(11) NOT NULL DEFAULT '0', + `completename` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `sons_cache` longtext COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `unicity` (`documentcategories_id`,`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_documents + +DROP TABLE IF EXISTS `glpi_documents`; +CREATE TABLE `glpi_documents` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `filename` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'for display and transfert', + `filepath` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'file storage path', + `documentcategories_id` int(11) NOT NULL DEFAULT '0', + `mime` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `link` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `tickets_id` int(11) NOT NULL DEFAULT '0', + `sha1sum` char(40) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_blacklisted` tinyint(1) NOT NULL DEFAULT '0', + `tag` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `tickets_id` (`tickets_id`), + KEY `users_id` (`users_id`), + KEY `documentcategories_id` (`documentcategories_id`), + KEY `is_deleted` (`is_deleted`), + KEY `sha1sum` (`sha1sum`), + KEY `tag` (`tag`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_documents_items + +DROP TABLE IF EXISTS `glpi_documents_items`; +CREATE TABLE `glpi_documents_items` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `documents_id` int(11) NOT NULL DEFAULT '0', + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`documents_id`,`itemtype`,`items_id`), + KEY `item` (`itemtype`,`items_id`,`entities_id`,`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_documenttypes + +DROP TABLE IF EXISTS `glpi_documenttypes`; +CREATE TABLE `glpi_documenttypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `ext` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `icon` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `mime` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_uploadable` tinyint(1) NOT NULL DEFAULT '1', + `date_mod` datetime DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`ext`), + KEY `name` (`name`), + KEY `is_uploadable` (`is_uploadable`), + KEY `date_mod` (`date_mod`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_documenttypes` VALUES ('1','JPEG','jpg','jpg-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('2','PNG','png','png-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('3','GIF','gif','gif-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('4','BMP','bmp','bmp-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('5','Photoshop','psd','psd-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('6','TIFF','tif','tif-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('7','AIFF','aiff','aiff-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('8','Windows Media','asf','asf-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('9','Windows Media','avi','avi-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('44','C source','c','c-dist.png','','1','2011-12-06 09:48:34',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('27','RealAudio','rm','rm-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('16','Midi','mid','mid-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('17','QuickTime','mov','mov-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('18','MP3','mp3','mp3-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('19','MPEG','mpg','mpg-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('20','Ogg Vorbis','ogg','ogg-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('24','QuickTime','qt','qt-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('10','BZip','bz2','bz2-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('25','RealAudio','ra','ra-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('26','RealAudio','ram','ram-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('11','Word','doc','doc-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('12','DjVu','djvu','','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('42','MNG','mng','','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('13','PostScript','eps','ps-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('14','GZ','gz','gz-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('37','WAV','wav','wav-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('15','HTML','html','html-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('34','Flash','swf','swf-dist.png','','1','2011-12-06 09:48:34',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('21','PDF','pdf','pdf-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('22','PowerPoint','ppt','ppt-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('23','PostScript','ps','ps-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('40','Windows Media','wmv','wmv-dist.png','','1','2011-12-06 09:48:34',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('28','RTF','rtf','rtf-dist.png','','1','2004-12-13 19:47:21',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('29','StarOffice','sdd','sdd-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('30','StarOffice','sdw','sdw-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('31','Stuffit','sit','sit-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('43','Adobe Illustrator','ai','ai-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('32','OpenOffice Impress','sxi','sxi-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('33','OpenOffice','sxw','sxw-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('46','DVI','dvi','dvi-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('35','TGZ','tgz','tgz-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('36','texte','txt','txt-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('49','RedHat/Mandrake/SuSE','rpm','rpm-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('38','Excel','xls','xls-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('39','XML','xml','xml-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('41','Zip','zip','zip-dist.png','','1','2011-12-06 09:48:34',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('45','Debian','deb','deb-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('47','C header','h','h-dist.png','','1','2011-12-06 09:48:34',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('48','Pascal','pas','pas-dist.png','','1','2011-12-06 09:48:34',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('50','OpenOffice Calc','sxc','sxc-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('51','LaTeX','tex','tex-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('52','GIMP multi-layer','xcf','xcf-dist.png','','1','2004-12-13 19:47:22',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('53','JPEG','jpeg','jpg-dist.png','','1','2005-03-07 22:23:17',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('54','Oasis Open Office Writer','odt','odt-dist.png','','1','2006-01-21 17:41:13',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('55','Oasis Open Office Calc','ods','ods-dist.png','','1','2006-01-21 17:41:31',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('56','Oasis Open Office Impress','odp','odp-dist.png','','1','2006-01-21 17:42:54',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('57','Oasis Open Office Impress Template','otp','odp-dist.png','','1','2006-01-21 17:43:58',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('58','Oasis Open Office Writer Template','ott','odt-dist.png','','1','2006-01-21 17:44:41',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('59','Oasis Open Office Calc Template','ots','ods-dist.png','','1','2006-01-21 17:45:30',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('60','Oasis Open Office Math','odf','odf-dist.png','','1','2006-01-21 17:48:05',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('61','Oasis Open Office Draw','odg','odg-dist.png','','1','2006-01-21 17:48:31',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('62','Oasis Open Office Draw Template','otg','odg-dist.png','','1','2006-01-21 17:49:46',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('63','Oasis Open Office Base','odb','odb-dist.png','','1','2006-01-21 18:03:34',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('64','Oasis Open Office HTML','oth','oth-dist.png','','1','2006-01-21 18:05:27',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('65','Oasis Open Office Writer Master','odm','odm-dist.png','','1','2006-01-21 18:06:34',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('66','Oasis Open Office Chart','odc','','','1','2006-01-21 18:07:48',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('67','Oasis Open Office Image','odi','','','1','2006-01-21 18:08:18',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('68','Word XML','docx','doc-dist.png',NULL,'1','2011-01-18 11:40:42',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('69','Excel XML','xlsx','xls-dist.png',NULL,'1','2011-01-18 11:40:42',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('70','PowerPoint XML','pptx','ppt-dist.png',NULL,'1','2011-01-18 11:40:42',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('71','Comma-Separated Values','csv','csv-dist.png',NULL,'1','2011-12-06 09:48:34',NULL); +INSERT INTO `glpi_documenttypes` VALUES ('72','Scalable Vector Graphics','svg','svg-dist.png',NULL,'1','2011-12-06 09:48:34',NULL); + +### Dump table glpi_domains + +DROP TABLE IF EXISTS `glpi_domains`; +CREATE TABLE `glpi_domains` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_dropdowntranslations + +DROP TABLE IF EXISTS `glpi_dropdowntranslations`; +CREATE TABLE `glpi_dropdowntranslations` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `language` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL, + `field` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`itemtype`,`items_id`,`language`,`field`), + KEY `typeid` (`itemtype`,`items_id`), + KEY `language` (`language`), + KEY `field` (`field`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_entities + +DROP TABLE IF EXISTS `glpi_entities`; +CREATE TABLE `glpi_entities` ( + `id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `completename` text COLLATE utf8_unicode_ci, + `comment` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `sons_cache` longtext COLLATE utf8_unicode_ci, + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `address` text COLLATE utf8_unicode_ci, + `postcode` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `town` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `country` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `website` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phonenumber` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `fax` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `admin_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `admin_email_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `admin_reply` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `admin_reply_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `notification_subject_tag` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `ldap_dn` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `tag` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `authldaps_id` int(11) NOT NULL DEFAULT '0', + `mail_domain` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entity_ldapfilter` text COLLATE utf8_unicode_ci, + `mailing_signature` text COLLATE utf8_unicode_ci, + `cartridges_alert_repeat` int(11) NOT NULL DEFAULT '-2', + `consumables_alert_repeat` int(11) NOT NULL DEFAULT '-2', + `use_licenses_alert` int(11) NOT NULL DEFAULT '-2', + `send_licenses_alert_before_delay` int(11) NOT NULL DEFAULT '-2', + `use_contracts_alert` int(11) NOT NULL DEFAULT '-2', + `send_contracts_alert_before_delay` int(11) NOT NULL DEFAULT '-2', + `use_infocoms_alert` int(11) NOT NULL DEFAULT '-2', + `send_infocoms_alert_before_delay` int(11) NOT NULL DEFAULT '-2', + `use_reservations_alert` int(11) NOT NULL DEFAULT '-2', + `autoclose_delay` int(11) NOT NULL DEFAULT '-2', + `notclosed_delay` int(11) NOT NULL DEFAULT '-2', + `calendars_id` int(11) NOT NULL DEFAULT '-2', + `auto_assign_mode` int(11) NOT NULL DEFAULT '-2', + `tickettype` int(11) NOT NULL DEFAULT '-2', + `max_closedate` datetime DEFAULT NULL, + `inquest_config` int(11) NOT NULL DEFAULT '-2', + `inquest_rate` int(11) NOT NULL DEFAULT '0', + `inquest_delay` int(11) NOT NULL DEFAULT '-10', + `inquest_URL` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `autofill_warranty_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '-2', + `autofill_use_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '-2', + `autofill_buy_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '-2', + `autofill_delivery_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '-2', + `autofill_order_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '-2', + `tickettemplates_id` int(11) NOT NULL DEFAULT '-2', + `entities_id_software` int(11) NOT NULL DEFAULT '-2', + `default_contract_alert` int(11) NOT NULL DEFAULT '-2', + `default_infocom_alert` int(11) NOT NULL DEFAULT '-2', + `default_cartridges_alarm_threshold` int(11) NOT NULL DEFAULT '-2', + `default_consumables_alarm_threshold` int(11) NOT NULL DEFAULT '-2', + `delay_send_emails` int(11) NOT NULL DEFAULT '-2', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`entities_id`,`name`), + KEY `entities_id` (`entities_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_entities` VALUES ('0','Root entity','-1','Root entity',NULL,'1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0',NULL,NULL,NULL,'0','0','0','0','0','0','0','0','0','-1','0','0','-10','1',NULL,'1','0','0',NULL,'0','0','0','0','0','1','-10','0','0','10','10','0'); + +### Dump table glpi_entities_knowbaseitems + +DROP TABLE IF EXISTS `glpi_entities_knowbaseitems`; +CREATE TABLE `glpi_entities_knowbaseitems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `knowbaseitems_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `knowbaseitems_id` (`knowbaseitems_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_entities_reminders + +DROP TABLE IF EXISTS `glpi_entities_reminders`; +CREATE TABLE `glpi_entities_reminders` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `reminders_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `reminders_id` (`reminders_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_entities_rssfeeds + +DROP TABLE IF EXISTS `glpi_entities_rssfeeds`; +CREATE TABLE `glpi_entities_rssfeeds` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `rssfeeds_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `rssfeeds_id` (`rssfeeds_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_entities_slas + +DROP TABLE IF EXISTS `glpi_entities_slas`; +CREATE TABLE `glpi_entities_slas` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `slas_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `slas_id` (`slas_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_events + +DROP TABLE IF EXISTS `glpi_events`; +CREATE TABLE `glpi_events` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date` datetime DEFAULT NULL, + `service` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `level` int(11) NOT NULL DEFAULT '0', + `message` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `date` (`date`), + KEY `level` (`level`), + KEY `item` (`type`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_fieldblacklists + +DROP TABLE IF EXISTS `glpi_fieldblacklists`; +CREATE TABLE `glpi_fieldblacklists` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `field` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `itemtype` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_fieldunicities + +DROP TABLE IF EXISTS `glpi_fieldunicities`; +CREATE TABLE `glpi_fieldunicities` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `fields` text COLLATE utf8_unicode_ci, + `is_active` tinyint(1) NOT NULL DEFAULT '0', + `action_refuse` tinyint(1) NOT NULL DEFAULT '0', + `action_notify` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores field unicity criterias'; + + +### Dump table glpi_filesystems + +DROP TABLE IF EXISTS `glpi_filesystems`; +CREATE TABLE `glpi_filesystems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_filesystems` VALUES ('1','ext',NULL); +INSERT INTO `glpi_filesystems` VALUES ('2','ext2',NULL); +INSERT INTO `glpi_filesystems` VALUES ('3','ext3',NULL); +INSERT INTO `glpi_filesystems` VALUES ('4','ext4',NULL); +INSERT INTO `glpi_filesystems` VALUES ('5','FAT',NULL); +INSERT INTO `glpi_filesystems` VALUES ('6','FAT32',NULL); +INSERT INTO `glpi_filesystems` VALUES ('7','VFAT',NULL); +INSERT INTO `glpi_filesystems` VALUES ('8','HFS',NULL); +INSERT INTO `glpi_filesystems` VALUES ('9','HPFS',NULL); +INSERT INTO `glpi_filesystems` VALUES ('10','HTFS',NULL); +INSERT INTO `glpi_filesystems` VALUES ('11','JFS',NULL); +INSERT INTO `glpi_filesystems` VALUES ('12','JFS2',NULL); +INSERT INTO `glpi_filesystems` VALUES ('13','NFS',NULL); +INSERT INTO `glpi_filesystems` VALUES ('14','NTFS',NULL); +INSERT INTO `glpi_filesystems` VALUES ('15','ReiserFS',NULL); +INSERT INTO `glpi_filesystems` VALUES ('16','SMBFS',NULL); +INSERT INTO `glpi_filesystems` VALUES ('17','UDF',NULL); +INSERT INTO `glpi_filesystems` VALUES ('18','UFS',NULL); +INSERT INTO `glpi_filesystems` VALUES ('19','XFS',NULL); +INSERT INTO `glpi_filesystems` VALUES ('20','ZFS',NULL); + +### Dump table glpi_fqdns + +DROP TABLE IF EXISTS `glpi_fqdns`; +CREATE TABLE `glpi_fqdns` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `fqdn` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `name` (`name`), + KEY `fqdn` (`fqdn`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_groups + +DROP TABLE IF EXISTS `glpi_groups`; +CREATE TABLE `glpi_groups` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `ldap_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `ldap_value` text COLLATE utf8_unicode_ci, + `ldap_group_dn` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `groups_id` int(11) NOT NULL DEFAULT '0', + `completename` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `sons_cache` longtext COLLATE utf8_unicode_ci, + `is_requester` tinyint(1) NOT NULL DEFAULT '1', + `is_assign` tinyint(1) NOT NULL DEFAULT '1', + `is_notify` tinyint(1) NOT NULL DEFAULT '1', + `is_itemgroup` tinyint(1) NOT NULL DEFAULT '1', + `is_usergroup` tinyint(1) NOT NULL DEFAULT '1', + `is_manager` tinyint(1) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `ldap_field` (`ldap_field`), + KEY `entities_id` (`entities_id`), + KEY `date_mod` (`date_mod`), + KEY `ldap_value` (`ldap_value`(200)), + KEY `ldap_group_dn` (`ldap_group_dn`(200)), + KEY `groups_id` (`groups_id`), + KEY `is_requester` (`is_requester`), + KEY `is_assign` (`is_assign`), + KEY `is_notify` (`is_notify`), + KEY `is_itemgroup` (`is_itemgroup`), + KEY `is_usergroup` (`is_usergroup`), + KEY `is_manager` (`is_manager`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_groups_knowbaseitems + +DROP TABLE IF EXISTS `glpi_groups_knowbaseitems`; +CREATE TABLE `glpi_groups_knowbaseitems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `knowbaseitems_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `knowbaseitems_id` (`knowbaseitems_id`), + KEY `groups_id` (`groups_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_groups_problems + +DROP TABLE IF EXISTS `glpi_groups_problems`; +CREATE TABLE `glpi_groups_problems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `problems_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`problems_id`,`type`,`groups_id`), + KEY `group` (`groups_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_groups_reminders + +DROP TABLE IF EXISTS `glpi_groups_reminders`; +CREATE TABLE `glpi_groups_reminders` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `reminders_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `reminders_id` (`reminders_id`), + KEY `groups_id` (`groups_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_groups_rssfeeds + +DROP TABLE IF EXISTS `glpi_groups_rssfeeds`; +CREATE TABLE `glpi_groups_rssfeeds` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `rssfeeds_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `rssfeeds_id` (`rssfeeds_id`), + KEY `groups_id` (`groups_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_groups_slas + +DROP TABLE IF EXISTS `glpi_groups_slas`; +CREATE TABLE `glpi_groups_slas` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `slas_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `slas_id` (`slas_id`), + KEY `groups_id` (`groups_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_groups_tickets + +DROP TABLE IF EXISTS `glpi_groups_tickets`; +CREATE TABLE `glpi_groups_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`tickets_id`,`type`,`groups_id`), + KEY `group` (`groups_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_groups_users + +DROP TABLE IF EXISTS `glpi_groups_users`; +CREATE TABLE `glpi_groups_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `is_manager` tinyint(1) NOT NULL DEFAULT '0', + `is_userdelegate` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`users_id`,`groups_id`), + KEY `groups_id` (`groups_id`), + KEY `is_manager` (`is_manager`), + KEY `is_userdelegate` (`is_userdelegate`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_holidays + +DROP TABLE IF EXISTS `glpi_holidays`; +CREATE TABLE `glpi_holidays` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `begin_date` date DEFAULT NULL, + `end_date` date DEFAULT NULL, + `is_perpetual` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `begin_date` (`begin_date`), + KEY `end_date` (`end_date`), + KEY `is_perpetual` (`is_perpetual`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_infocoms + +DROP TABLE IF EXISTS `glpi_infocoms`; +CREATE TABLE `glpi_infocoms` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `buy_date` date DEFAULT NULL, + `use_date` date DEFAULT NULL, + `warranty_duration` int(11) NOT NULL DEFAULT '0', + `warranty_info` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `suppliers_id` int(11) NOT NULL DEFAULT '0', + `order_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `delivery_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `immo_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` decimal(20,4) NOT NULL DEFAULT '0.0000', + `warranty_value` decimal(20,4) NOT NULL DEFAULT '0.0000', + `sink_time` int(11) NOT NULL DEFAULT '0', + `sink_type` int(11) NOT NULL DEFAULT '0', + `sink_coeff` float NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `bill` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `budgets_id` int(11) NOT NULL DEFAULT '0', + `alert` int(11) NOT NULL DEFAULT '0', + `order_date` date DEFAULT NULL, + `delivery_date` date DEFAULT NULL, + `inventory_date` date DEFAULT NULL, + `warranty_date` date DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`itemtype`,`items_id`), + KEY `buy_date` (`buy_date`), + KEY `alert` (`alert`), + KEY `budgets_id` (`budgets_id`), + KEY `suppliers_id` (`suppliers_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_interfacetypes + +DROP TABLE IF EXISTS `glpi_interfacetypes`; +CREATE TABLE `glpi_interfacetypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_interfacetypes` VALUES ('1','IDE',NULL); +INSERT INTO `glpi_interfacetypes` VALUES ('2','SATA',NULL); +INSERT INTO `glpi_interfacetypes` VALUES ('3','SCSI',NULL); +INSERT INTO `glpi_interfacetypes` VALUES ('4','USB',NULL); +INSERT INTO `glpi_interfacetypes` VALUES ('5','AGP',''); +INSERT INTO `glpi_interfacetypes` VALUES ('6','PCI',''); +INSERT INTO `glpi_interfacetypes` VALUES ('7','PCIe',''); +INSERT INTO `glpi_interfacetypes` VALUES ('8','PCI-X',''); + +### Dump table glpi_ipaddresses + +DROP TABLE IF EXISTS `glpi_ipaddresses`; +CREATE TABLE `glpi_ipaddresses` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `version` tinyint(3) unsigned DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `binary_0` int(10) unsigned NOT NULL DEFAULT '0', + `binary_1` int(10) unsigned NOT NULL DEFAULT '0', + `binary_2` int(10) unsigned NOT NULL DEFAULT '0', + `binary_3` int(10) unsigned NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `mainitems_id` int(11) NOT NULL DEFAULT '0', + `mainitemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `textual` (`name`), + KEY `binary` (`binary_0`,`binary_1`,`binary_2`,`binary_3`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `item` (`itemtype`,`items_id`,`is_deleted`), + KEY `mainitem` (`mainitemtype`,`mainitems_id`,`is_deleted`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_ipaddresses_ipnetworks + +DROP TABLE IF EXISTS `glpi_ipaddresses_ipnetworks`; +CREATE TABLE `glpi_ipaddresses_ipnetworks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `ipaddresses_id` int(11) NOT NULL DEFAULT '0', + `ipnetworks_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`ipaddresses_id`,`ipnetworks_id`), + KEY `ipnetworks_id` (`ipnetworks_id`), + KEY `ipaddresses_id` (`ipaddresses_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_ipnetworks + +DROP TABLE IF EXISTS `glpi_ipnetworks`; +CREATE TABLE `glpi_ipnetworks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `ipnetworks_id` int(11) NOT NULL DEFAULT '0', + `completename` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `sons_cache` longtext COLLATE utf8_unicode_ci, + `addressable` tinyint(1) NOT NULL DEFAULT '0', + `version` tinyint(3) unsigned DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `address` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL, + `address_0` int(10) unsigned NOT NULL DEFAULT '0', + `address_1` int(10) unsigned NOT NULL DEFAULT '0', + `address_2` int(10) unsigned NOT NULL DEFAULT '0', + `address_3` int(10) unsigned NOT NULL DEFAULT '0', + `netmask` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL, + `netmask_0` int(10) unsigned NOT NULL DEFAULT '0', + `netmask_1` int(10) unsigned NOT NULL DEFAULT '0', + `netmask_2` int(10) unsigned NOT NULL DEFAULT '0', + `netmask_3` int(10) unsigned NOT NULL DEFAULT '0', + `gateway` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL, + `gateway_0` int(10) unsigned NOT NULL DEFAULT '0', + `gateway_1` int(10) unsigned NOT NULL DEFAULT '0', + `gateway_2` int(10) unsigned NOT NULL DEFAULT '0', + `gateway_3` int(10) unsigned NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `network_definition` (`entities_id`,`address`,`netmask`), + KEY `address` (`address_0`,`address_1`,`address_2`,`address_3`), + KEY `netmask` (`netmask_0`,`netmask_1`,`netmask_2`,`netmask_3`), + KEY `gateway` (`gateway_0`,`gateway_1`,`gateway_2`,`gateway_3`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_ipnetworks_vlans + +DROP TABLE IF EXISTS `glpi_ipnetworks_vlans`; +CREATE TABLE `glpi_ipnetworks_vlans` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `ipnetworks_id` int(11) NOT NULL DEFAULT '0', + `vlans_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `link` (`ipnetworks_id`,`vlans_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_devicecases + +DROP TABLE IF EXISTS `glpi_items_devicecases`; +CREATE TABLE `glpi_items_devicecases` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `devicecases_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `computers_id` (`items_id`), + KEY `devicecases_id` (`devicecases_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `serial` (`serial`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_devicecontrols + +DROP TABLE IF EXISTS `glpi_items_devicecontrols`; +CREATE TABLE `glpi_items_devicecontrols` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `devicecontrols_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `computers_id` (`items_id`), + KEY `devicecontrols_id` (`devicecontrols_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `serial` (`serial`), + KEY `busID` (`busID`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_devicedrives + +DROP TABLE IF EXISTS `glpi_items_devicedrives`; +CREATE TABLE `glpi_items_devicedrives` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `devicedrives_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `computers_id` (`items_id`), + KEY `devicedrives_id` (`devicedrives_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `serial` (`serial`), + KEY `busID` (`busID`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_devicegraphiccards + +DROP TABLE IF EXISTS `glpi_items_devicegraphiccards`; +CREATE TABLE `glpi_items_devicegraphiccards` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `devicegraphiccards_id` int(11) NOT NULL DEFAULT '0', + `memory` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `computers_id` (`items_id`), + KEY `devicegraphiccards_id` (`devicegraphiccards_id`), + KEY `specificity` (`memory`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `serial` (`serial`), + KEY `busID` (`busID`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_deviceharddrives + +DROP TABLE IF EXISTS `glpi_items_deviceharddrives`; +CREATE TABLE `glpi_items_deviceharddrives` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `deviceharddrives_id` int(11) NOT NULL DEFAULT '0', + `capacity` int(11) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `computers_id` (`items_id`), + KEY `deviceharddrives_id` (`deviceharddrives_id`), + KEY `specificity` (`capacity`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `serial` (`serial`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `busID` (`busID`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_devicememories + +DROP TABLE IF EXISTS `glpi_items_devicememories`; +CREATE TABLE `glpi_items_devicememories` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `devicememories_id` int(11) NOT NULL DEFAULT '0', + `size` int(11) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `computers_id` (`items_id`), + KEY `devicememories_id` (`devicememories_id`), + KEY `specificity` (`size`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `serial` (`serial`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `busID` (`busID`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_devicemotherboards + +DROP TABLE IF EXISTS `glpi_items_devicemotherboards`; +CREATE TABLE `glpi_items_devicemotherboards` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `devicemotherboards_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `computers_id` (`items_id`), + KEY `devicemotherboards_id` (`devicemotherboards_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `serial` (`serial`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_devicenetworkcards + +DROP TABLE IF EXISTS `glpi_items_devicenetworkcards`; +CREATE TABLE `glpi_items_devicenetworkcards` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `devicenetworkcards_id` int(11) NOT NULL DEFAULT '0', + `mac` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `computers_id` (`items_id`), + KEY `devicenetworkcards_id` (`devicenetworkcards_id`), + KEY `specificity` (`mac`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `serial` (`serial`), + KEY `busID` (`busID`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_devicepcis + +DROP TABLE IF EXISTS `glpi_items_devicepcis`; +CREATE TABLE `glpi_items_devicepcis` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `devicepcis_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `computers_id` (`items_id`), + KEY `devicepcis_id` (`devicepcis_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `serial` (`serial`), + KEY `busID` (`busID`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_devicepowersupplies + +DROP TABLE IF EXISTS `glpi_items_devicepowersupplies`; +CREATE TABLE `glpi_items_devicepowersupplies` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `devicepowersupplies_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `computers_id` (`items_id`), + KEY `devicepowersupplies_id` (`devicepowersupplies_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `serial` (`serial`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_deviceprocessors + +DROP TABLE IF EXISTS `glpi_items_deviceprocessors`; +CREATE TABLE `glpi_items_deviceprocessors` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `deviceprocessors_id` int(11) NOT NULL DEFAULT '0', + `frequency` int(11) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `nbcores` int(11) DEFAULT NULL, + `nbthreads` int(11) DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `computers_id` (`items_id`), + KEY `deviceprocessors_id` (`deviceprocessors_id`), + KEY `specificity` (`frequency`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `serial` (`serial`), + KEY `nbcores` (`nbcores`), + KEY `nbthreads` (`nbthreads`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `busID` (`busID`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_devicesoundcards + +DROP TABLE IF EXISTS `glpi_items_devicesoundcards`; +CREATE TABLE `glpi_items_devicesoundcards` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `devicesoundcards_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `computers_id` (`items_id`), + KEY `devicesoundcards_id` (`devicesoundcards_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `serial` (`serial`), + KEY `busID` (`busID`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_problems + +DROP TABLE IF EXISTS `glpi_items_problems`; +CREATE TABLE `glpi_items_problems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `problems_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`problems_id`,`itemtype`,`items_id`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_items_projects + +DROP TABLE IF EXISTS `glpi_items_projects`; +CREATE TABLE `glpi_items_projects` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `projects_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`projects_id`,`itemtype`,`items_id`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_itilcategories + +DROP TABLE IF EXISTS `glpi_itilcategories`; +CREATE TABLE `glpi_itilcategories` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `itilcategories_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `completename` text COLLATE utf8_unicode_ci, + `comment` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `knowbaseitemcategories_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `sons_cache` longtext COLLATE utf8_unicode_ci, + `is_helpdeskvisible` tinyint(1) NOT NULL DEFAULT '1', + `tickettemplates_id_incident` int(11) NOT NULL DEFAULT '0', + `tickettemplates_id_demand` int(11) NOT NULL DEFAULT '0', + `is_incident` int(11) NOT NULL DEFAULT '1', + `is_request` int(11) NOT NULL DEFAULT '1', + `is_problem` int(11) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `knowbaseitemcategories_id` (`knowbaseitemcategories_id`), + KEY `users_id` (`users_id`), + KEY `groups_id` (`groups_id`), + KEY `is_helpdeskvisible` (`is_helpdeskvisible`), + KEY `itilcategories_id` (`itilcategories_id`), + KEY `tickettemplates_id_incident` (`tickettemplates_id_incident`), + KEY `tickettemplates_id_demand` (`tickettemplates_id_demand`), + KEY `is_incident` (`is_incident`), + KEY `is_request` (`is_request`), + KEY `is_problem` (`is_problem`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_knowbaseitemcategories + +DROP TABLE IF EXISTS `glpi_knowbaseitemcategories`; +CREATE TABLE `glpi_knowbaseitemcategories` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `knowbaseitemcategories_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `completename` text COLLATE utf8_unicode_ci, + `comment` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `sons_cache` longtext COLLATE utf8_unicode_ci, + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`entities_id`,`knowbaseitemcategories_id`,`name`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_knowbaseitems + +DROP TABLE IF EXISTS `glpi_knowbaseitems`; +CREATE TABLE `glpi_knowbaseitems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `knowbaseitemcategories_id` int(11) NOT NULL DEFAULT '0', + `name` text COLLATE utf8_unicode_ci, + `answer` longtext COLLATE utf8_unicode_ci, + `is_faq` tinyint(1) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `view` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `begin_date` datetime DEFAULT NULL, + `end_date` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `users_id` (`users_id`), + KEY `knowbaseitemcategories_id` (`knowbaseitemcategories_id`), + KEY `is_faq` (`is_faq`), + KEY `date_mod` (`date_mod`), + FULLTEXT KEY `fulltext` (`name`,`answer`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_knowbaseitems_profiles + +DROP TABLE IF EXISTS `glpi_knowbaseitems_profiles`; +CREATE TABLE `glpi_knowbaseitems_profiles` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `knowbaseitems_id` int(11) NOT NULL DEFAULT '0', + `profiles_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `knowbaseitems_id` (`knowbaseitems_id`), + KEY `profiles_id` (`profiles_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_knowbaseitems_users + +DROP TABLE IF EXISTS `glpi_knowbaseitems_users`; +CREATE TABLE `glpi_knowbaseitems_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `knowbaseitems_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `knowbaseitems_id` (`knowbaseitems_id`), + KEY `users_id` (`users_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_knowbaseitemtranslations + +DROP TABLE IF EXISTS `glpi_knowbaseitemtranslations`; +CREATE TABLE `glpi_knowbaseitemtranslations` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `knowbaseitems_id` int(11) NOT NULL DEFAULT '0', + `language` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL, + `name` text COLLATE utf8_unicode_ci, + `answer` longtext COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `item` (`knowbaseitems_id`,`language`), + FULLTEXT KEY `fulltext` (`name`,`answer`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_links + +DROP TABLE IF EXISTS `glpi_links`; +CREATE TABLE `glpi_links` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '1', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `link` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `data` text COLLATE utf8_unicode_ci, + `open_window` tinyint(1) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_links_itemtypes + +DROP TABLE IF EXISTS `glpi_links_itemtypes`; +CREATE TABLE `glpi_links_itemtypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `links_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`itemtype`,`links_id`), + KEY `links_id` (`links_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_locations + +DROP TABLE IF EXISTS `glpi_locations`; +CREATE TABLE `glpi_locations` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `locations_id` int(11) NOT NULL DEFAULT '0', + `completename` text COLLATE utf8_unicode_ci, + `comment` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `sons_cache` longtext COLLATE utf8_unicode_ci, + `building` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `room` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `latitude` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `longitude` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `altitude` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`entities_id`,`locations_id`,`name`), + KEY `locations_id` (`locations_id`), + KEY `name` (`name`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_logs + +DROP TABLE IF EXISTS `glpi_logs`; +CREATE TABLE `glpi_logs` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype_link` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `linked_action` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php HISTORY_* constant', + `user_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `id_search_option` int(11) NOT NULL DEFAULT '0' COMMENT 'see search.constant.php for value', + `old_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `new_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`), + KEY `itemtype_link` (`itemtype_link`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_mailcollectors + +DROP TABLE IF EXISTS `glpi_mailcollectors`; +CREATE TABLE `glpi_mailcollectors` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `host` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `login` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `filesize_max` int(11) NOT NULL DEFAULT '2097152', + `is_active` tinyint(1) NOT NULL DEFAULT '1', + `date_mod` datetime DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `passwd` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `accepted` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `refused` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `use_kerberos` tinyint(1) NOT NULL DEFAULT '0', + `errors` int(11) NOT NULL DEFAULT '0', + `use_mail_date` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `is_active` (`is_active`), + KEY `date_mod` (`date_mod`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_manufacturers + +DROP TABLE IF EXISTS `glpi_manufacturers`; +CREATE TABLE `glpi_manufacturers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_monitormodels + +DROP TABLE IF EXISTS `glpi_monitormodels`; +CREATE TABLE `glpi_monitormodels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_monitors + +DROP TABLE IF EXISTS `glpi_monitors`; +CREATE TABLE `glpi_monitors` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `size` int(11) NOT NULL DEFAULT '0', + `have_micro` tinyint(1) NOT NULL DEFAULT '0', + `have_speaker` tinyint(1) NOT NULL DEFAULT '0', + `have_subd` tinyint(1) NOT NULL DEFAULT '0', + `have_bnc` tinyint(1) NOT NULL DEFAULT '0', + `have_dvi` tinyint(1) NOT NULL DEFAULT '0', + `have_pivot` tinyint(1) NOT NULL DEFAULT '0', + `have_hdmi` tinyint(1) NOT NULL DEFAULT '0', + `have_displayport` tinyint(1) NOT NULL DEFAULT '0', + `locations_id` int(11) NOT NULL DEFAULT '0', + `monitortypes_id` int(11) NOT NULL DEFAULT '0', + `monitormodels_id` int(11) NOT NULL DEFAULT '0', + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `is_global` tinyint(1) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `states_id` int(11) NOT NULL DEFAULT '0', + `ticket_tco` decimal(20,4) DEFAULT '0.0000', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_template` (`is_template`), + KEY `is_global` (`is_global`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `groups_id` (`groups_id`), + KEY `users_id` (`users_id`), + KEY `locations_id` (`locations_id`), + KEY `monitormodels_id` (`monitormodels_id`), + KEY `states_id` (`states_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `monitortypes_id` (`monitortypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `is_dynamic` (`is_dynamic`), + KEY `serial` (`serial`), + KEY `otherserial` (`otherserial`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_monitortypes + +DROP TABLE IF EXISTS `glpi_monitortypes`; +CREATE TABLE `glpi_monitortypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_netpoints + +DROP TABLE IF EXISTS `glpi_netpoints`; +CREATE TABLE `glpi_netpoints` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `locations_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `complete` (`entities_id`,`locations_id`,`name`), + KEY `location_name` (`locations_id`,`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkaliases + +DROP TABLE IF EXISTS `glpi_networkaliases`; +CREATE TABLE `glpi_networkaliases` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `networknames_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `fqdns_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `name` (`name`), + KEY `networknames_id` (`networknames_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkequipmentfirmwares + +DROP TABLE IF EXISTS `glpi_networkequipmentfirmwares`; +CREATE TABLE `glpi_networkequipmentfirmwares` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkequipmentmodels + +DROP TABLE IF EXISTS `glpi_networkequipmentmodels`; +CREATE TABLE `glpi_networkequipmentmodels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkequipments + +DROP TABLE IF EXISTS `glpi_networkequipments`; +CREATE TABLE `glpi_networkequipments` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `ram` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `locations_id` int(11) NOT NULL DEFAULT '0', + `domains_id` int(11) NOT NULL DEFAULT '0', + `networks_id` int(11) NOT NULL DEFAULT '0', + `networkequipmenttypes_id` int(11) NOT NULL DEFAULT '0', + `networkequipmentmodels_id` int(11) NOT NULL DEFAULT '0', + `networkequipmentfirmwares_id` int(11) NOT NULL DEFAULT '0', + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `states_id` int(11) NOT NULL DEFAULT '0', + `ticket_tco` decimal(20,4) DEFAULT '0.0000', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_template` (`is_template`), + KEY `domains_id` (`domains_id`), + KEY `networkequipmentfirmwares_id` (`networkequipmentfirmwares_id`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `groups_id` (`groups_id`), + KEY `users_id` (`users_id`), + KEY `locations_id` (`locations_id`), + KEY `networkequipmentmodels_id` (`networkequipmentmodels_id`), + KEY `networks_id` (`networks_id`), + KEY `states_id` (`states_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `networkequipmenttypes_id` (`networkequipmenttypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `date_mod` (`date_mod`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `is_dynamic` (`is_dynamic`), + KEY `serial` (`serial`), + KEY `otherserial` (`otherserial`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkequipmenttypes + +DROP TABLE IF EXISTS `glpi_networkequipmenttypes`; +CREATE TABLE `glpi_networkequipmenttypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkinterfaces + +DROP TABLE IF EXISTS `glpi_networkinterfaces`; +CREATE TABLE `glpi_networkinterfaces` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networknames + +DROP TABLE IF EXISTS `glpi_networknames`; +CREATE TABLE `glpi_networknames` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `fqdns_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `FQDN` (`name`,`fqdns_id`), + KEY `name` (`name`), + KEY `fqdns_id` (`fqdns_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`), + KEY `item` (`itemtype`,`items_id`,`is_deleted`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkportaggregates + +DROP TABLE IF EXISTS `glpi_networkportaggregates`; +CREATE TABLE `glpi_networkportaggregates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `networkports_id` int(11) NOT NULL DEFAULT '0', + `networkports_id_list` text COLLATE utf8_unicode_ci COMMENT 'array of associated networkports_id', + PRIMARY KEY (`id`), + UNIQUE KEY `networkports_id` (`networkports_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkportaliases + +DROP TABLE IF EXISTS `glpi_networkportaliases`; +CREATE TABLE `glpi_networkportaliases` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `networkports_id` int(11) NOT NULL DEFAULT '0', + `networkports_id_alias` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `networkports_id` (`networkports_id`), + KEY `networkports_id_alias` (`networkports_id_alias`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkportdialups + +DROP TABLE IF EXISTS `glpi_networkportdialups`; +CREATE TABLE `glpi_networkportdialups` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `networkports_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `networkports_id` (`networkports_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkportethernets + +DROP TABLE IF EXISTS `glpi_networkportethernets`; +CREATE TABLE `glpi_networkportethernets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `networkports_id` int(11) NOT NULL DEFAULT '0', + `items_devicenetworkcards_id` int(11) NOT NULL DEFAULT '0', + `netpoints_id` int(11) NOT NULL DEFAULT '0', + `type` varchar(10) COLLATE utf8_unicode_ci DEFAULT '' COMMENT 'T, LX, SX', + `speed` int(11) NOT NULL DEFAULT '10' COMMENT 'Mbit/s: 10, 100, 1000, 10000', + PRIMARY KEY (`id`), + UNIQUE KEY `networkports_id` (`networkports_id`), + KEY `card` (`items_devicenetworkcards_id`), + KEY `netpoint` (`netpoints_id`), + KEY `type` (`type`), + KEY `speed` (`speed`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkportlocals + +DROP TABLE IF EXISTS `glpi_networkportlocals`; +CREATE TABLE `glpi_networkportlocals` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `networkports_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `networkports_id` (`networkports_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkports + +DROP TABLE IF EXISTS `glpi_networkports`; +CREATE TABLE `glpi_networkports` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `logical_number` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `instantiation_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `mac` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `on_device` (`items_id`,`itemtype`), + KEY `item` (`itemtype`,`items_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `mac` (`mac`), + KEY `is_deleted` (`is_deleted`), + KEY `is_dynamic` (`is_dynamic`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkports_networkports + +DROP TABLE IF EXISTS `glpi_networkports_networkports`; +CREATE TABLE `glpi_networkports_networkports` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `networkports_id_1` int(11) NOT NULL DEFAULT '0', + `networkports_id_2` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`networkports_id_1`,`networkports_id_2`), + KEY `networkports_id_2` (`networkports_id_2`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkports_vlans + +DROP TABLE IF EXISTS `glpi_networkports_vlans`; +CREATE TABLE `glpi_networkports_vlans` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `networkports_id` int(11) NOT NULL DEFAULT '0', + `vlans_id` int(11) NOT NULL DEFAULT '0', + `tagged` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`networkports_id`,`vlans_id`), + KEY `vlans_id` (`vlans_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networkportwifis + +DROP TABLE IF EXISTS `glpi_networkportwifis`; +CREATE TABLE `glpi_networkportwifis` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `networkports_id` int(11) NOT NULL DEFAULT '0', + `items_devicenetworkcards_id` int(11) NOT NULL DEFAULT '0', + `wifinetworks_id` int(11) NOT NULL DEFAULT '0', + `networkportwifis_id` int(11) NOT NULL DEFAULT '0' COMMENT 'only usefull in case of Managed node', + `version` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'a, a/b, a/b/g, a/b/g/n, a/b/g/n/y', + `mode` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'ad-hoc, managed, master, repeater, secondary, monitor, auto', + PRIMARY KEY (`id`), + UNIQUE KEY `networkports_id` (`networkports_id`), + KEY `card` (`items_devicenetworkcards_id`), + KEY `essid` (`wifinetworks_id`), + KEY `version` (`version`), + KEY `mode` (`mode`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_networks + +DROP TABLE IF EXISTS `glpi_networks`; +CREATE TABLE `glpi_networks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_notepads + +DROP TABLE IF EXISTS `glpi_notepads`; +CREATE TABLE `glpi_notepads` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `users_id_lastupdater` int(11) NOT NULL DEFAULT '0', + `content` longtext COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `item` (`itemtype`,`items_id`), + KEY `date_mod` (`date_mod`), + KEY `date` (`date`), + KEY `users_id_lastupdater` (`users_id_lastupdater`), + KEY `users_id` (`users_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_notifications + +DROP TABLE IF EXISTS `glpi_notifications`; +CREATE TABLE `glpi_notifications` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `event` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `mode` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `notificationtemplates_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `is_active` tinyint(1) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `itemtype` (`itemtype`), + KEY `entities_id` (`entities_id`), + KEY `is_active` (`is_active`), + KEY `date_mod` (`date_mod`), + KEY `is_recursive` (`is_recursive`), + KEY `notificationtemplates_id` (`notificationtemplates_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_notifications` VALUES ('1','Alert Tickets not closed','0','Ticket','alertnotclosed','mail','6','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('2','New Ticket','0','Ticket','new','mail','4','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('3','Update Ticket','0','Ticket','update','mail','4','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('4','Close Ticket','0','Ticket','closed','mail','4','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('5','Add Followup','0','Ticket','add_followup','mail','4','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('6','Add Task','0','Ticket','add_task','mail','4','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('7','Update Followup','0','Ticket','update_followup','mail','4','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('8','Update Task','0','Ticket','update_task','mail','4','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('9','Delete Followup','0','Ticket','delete_followup','mail','4','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('10','Delete Task','0','Ticket','delete_task','mail','4','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('11','Resolve ticket','0','Ticket','solved','mail','4','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('12','Ticket Validation','0','Ticket','validation','mail','7','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('13','New Reservation','0','Reservation','new','mail','2','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('14','Update Reservation','0','Reservation','update','mail','2','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('15','Delete Reservation','0','Reservation','delete','mail','2','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('16','Alert Reservation','0','Reservation','alert','mail','3','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('17','Contract Notice','0','Contract','notice','mail','12','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('18','Contract End','0','Contract','end','mail','12','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('19','MySQL Synchronization','0','DBConnection','desynchronization','mail','1','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('20','Cartridges','0','CartridgeItem','alert','mail','8','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('21','Consumables','0','ConsumableItem','alert','mail','9','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('22','Infocoms','0','Infocom','alert','mail','10','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('23','Software Licenses','0','SoftwareLicense','alert','mail','11','','1','1','2010-02-16 16:41:39'); +INSERT INTO `glpi_notifications` VALUES ('24','Ticket Recall','0','Ticket','recall','mail','4','','1','1','2011-03-04 11:35:13'); +INSERT INTO `glpi_notifications` VALUES ('25','Password Forget','0','User','passwordforget','mail','13','','1','1','2011-03-04 11:35:13'); +INSERT INTO `glpi_notifications` VALUES ('26','Ticket Satisfaction','0','Ticket','satisfaction','mail','14','','1','1','2011-03-04 11:35:15'); +INSERT INTO `glpi_notifications` VALUES ('27','Item not unique','0','FieldUnicity','refuse','mail','15','','1','1','2011-03-04 11:35:16'); +INSERT INTO `glpi_notifications` VALUES ('28','Crontask Watcher','0','Crontask','alert','mail','16','','1','1','2011-03-04 11:35:16'); +INSERT INTO `glpi_notifications` VALUES ('29','New Problem','0','Problem','new','mail','17','','1','1','2011-12-06 09:48:33'); +INSERT INTO `glpi_notifications` VALUES ('30','Update Problem','0','Problem','update','mail','17','','1','1','2011-12-06 09:48:33'); +INSERT INTO `glpi_notifications` VALUES ('31','Resolve Problem','0','Problem','solved','mail','17','','1','1','2011-12-06 09:48:33'); +INSERT INTO `glpi_notifications` VALUES ('32','Add Task','0','Problem','add_task','mail','17','','1','1','2011-12-06 09:48:33'); +INSERT INTO `glpi_notifications` VALUES ('33','Update Task','0','Problem','update_task','mail','17','','1','1','2011-12-06 09:48:33'); +INSERT INTO `glpi_notifications` VALUES ('34','Delete Task','0','Problem','delete_task','mail','17','','1','1','2011-12-06 09:48:33'); +INSERT INTO `glpi_notifications` VALUES ('35','Close Problem','0','Problem','closed','mail','17','','1','1','2011-12-06 09:48:33'); +INSERT INTO `glpi_notifications` VALUES ('36','Delete Problem','0','Problem','delete','mail','17','','1','1','2011-12-06 09:48:33'); +INSERT INTO `glpi_notifications` VALUES ('37','Ticket Validation Answer','0','Ticket','validation_answer','mail','7','','1','1','2014-01-15 14:35:24'); +INSERT INTO `glpi_notifications` VALUES ('38','Contract End Periodicity','0','Contract','periodicity','mail','12','','1','1','2014-01-15 14:35:24'); +INSERT INTO `glpi_notifications` VALUES ('39','Contract Notice Periodicity','0','Contract','periodicitynotice','mail','12','','1','1','2014-01-15 14:35:24'); +INSERT INTO `glpi_notifications` VALUES ('40','Planning recall','0','PlanningRecall','planningrecall','mail','18','','1','1','2014-01-15 14:35:24'); +INSERT INTO `glpi_notifications` VALUES ('41','Delete Ticket','0','Ticket','delete','mail','4','','1','1','2014-01-15 14:35:26'); +INSERT INTO `glpi_notifications` VALUES ('42','New Change','0','Change','new','mail','19','','1','1','2014-04-16 16:47:33'); +INSERT INTO `glpi_notifications` VALUES ('43','Update Change','0','Change','update','mail','19','','1','1','2014-04-16 16:47:33'); +INSERT INTO `glpi_notifications` VALUES ('44','Resolve Change','0','Change','solved','mail','19','','1','1','2014-04-16 16:47:33'); +INSERT INTO `glpi_notifications` VALUES ('45','Add Task','0','Change','add_task','mail','19','','1','1','2014-04-16 16:47:33'); +INSERT INTO `glpi_notifications` VALUES ('46','Update Task','0','Change','update_task','mail','19','','1','1','2014-04-16 16:47:33'); +INSERT INTO `glpi_notifications` VALUES ('47','Delete Task','0','Change','delete_task','mail','19','','1','1','2014-04-16 16:47:33'); +INSERT INTO `glpi_notifications` VALUES ('48','Close Change','0','Change','closed','mail','19','','1','1','2014-04-16 16:47:33'); +INSERT INTO `glpi_notifications` VALUES ('49','Delete Change','0','Change','delete','mail','19','','1','1','2014-04-16 16:47:33'); +INSERT INTO `glpi_notifications` VALUES ('50','Ticket Satisfaction Answer','0','Ticket','replysatisfaction','mail','14','','1','1','2014-04-16 16:47:34'); +INSERT INTO `glpi_notifications` VALUES ('51','Receiver errors','0','MailCollector','error','mail','20','','1','1','2014-04-16 16:47:34'); +INSERT INTO `glpi_notifications` VALUES ('52','New Project','0','Project','new','mail','21','','1','1','2014-04-16 16:47:36'); +INSERT INTO `glpi_notifications` VALUES ('53','Update Project','0','Project','update','mail','21','','1','1','2014-04-16 16:47:36'); +INSERT INTO `glpi_notifications` VALUES ('54','Delete Project','0','Project','delete','mail','21','','1','1','2014-04-16 16:47:36'); +INSERT INTO `glpi_notifications` VALUES ('55','New Project Task','0','ProjectTask','new','mail','22','','1','1','2014-04-16 16:47:36'); +INSERT INTO `glpi_notifications` VALUES ('56','Update Project Task','0','ProjectTask','update','mail','22','','1','1','2014-04-16 16:47:36'); +INSERT INTO `glpi_notifications` VALUES ('57','Delete Project Task','0','ProjectTask','delete','mail','22','','1','1','2014-04-16 16:47:36'); + +### Dump table glpi_notificationtargets + +DROP TABLE IF EXISTS `glpi_notificationtargets`; +CREATE TABLE `glpi_notificationtargets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '0', + `notifications_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `items` (`type`,`items_id`), + KEY `notifications_id` (`notifications_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_notificationtargets` VALUES ('1','3','1','13'); +INSERT INTO `glpi_notificationtargets` VALUES ('2','1','1','13'); +INSERT INTO `glpi_notificationtargets` VALUES ('3','3','2','2'); +INSERT INTO `glpi_notificationtargets` VALUES ('4','1','1','2'); +INSERT INTO `glpi_notificationtargets` VALUES ('5','1','1','3'); +INSERT INTO `glpi_notificationtargets` VALUES ('6','1','1','5'); +INSERT INTO `glpi_notificationtargets` VALUES ('7','1','1','4'); +INSERT INTO `glpi_notificationtargets` VALUES ('8','2','1','3'); +INSERT INTO `glpi_notificationtargets` VALUES ('9','4','1','3'); +INSERT INTO `glpi_notificationtargets` VALUES ('10','3','1','2'); +INSERT INTO `glpi_notificationtargets` VALUES ('11','3','1','3'); +INSERT INTO `glpi_notificationtargets` VALUES ('12','3','1','5'); +INSERT INTO `glpi_notificationtargets` VALUES ('13','3','1','4'); +INSERT INTO `glpi_notificationtargets` VALUES ('14','1','1','19'); +INSERT INTO `glpi_notificationtargets` VALUES ('15','14','1','12'); +INSERT INTO `glpi_notificationtargets` VALUES ('16','3','1','14'); +INSERT INTO `glpi_notificationtargets` VALUES ('17','1','1','14'); +INSERT INTO `glpi_notificationtargets` VALUES ('18','3','1','15'); +INSERT INTO `glpi_notificationtargets` VALUES ('19','1','1','15'); +INSERT INTO `glpi_notificationtargets` VALUES ('20','1','1','6'); +INSERT INTO `glpi_notificationtargets` VALUES ('21','3','1','6'); +INSERT INTO `glpi_notificationtargets` VALUES ('22','1','1','7'); +INSERT INTO `glpi_notificationtargets` VALUES ('23','3','1','7'); +INSERT INTO `glpi_notificationtargets` VALUES ('24','1','1','8'); +INSERT INTO `glpi_notificationtargets` VALUES ('25','3','1','8'); +INSERT INTO `glpi_notificationtargets` VALUES ('26','1','1','9'); +INSERT INTO `glpi_notificationtargets` VALUES ('27','3','1','9'); +INSERT INTO `glpi_notificationtargets` VALUES ('28','1','1','10'); +INSERT INTO `glpi_notificationtargets` VALUES ('29','3','1','10'); +INSERT INTO `glpi_notificationtargets` VALUES ('30','1','1','11'); +INSERT INTO `glpi_notificationtargets` VALUES ('31','3','1','11'); +INSERT INTO `glpi_notificationtargets` VALUES ('32','19','1','25'); +INSERT INTO `glpi_notificationtargets` VALUES ('33','3','1','26'); +INSERT INTO `glpi_notificationtargets` VALUES ('34','21','1','2'); +INSERT INTO `glpi_notificationtargets` VALUES ('35','21','1','3'); +INSERT INTO `glpi_notificationtargets` VALUES ('36','21','1','5'); +INSERT INTO `glpi_notificationtargets` VALUES ('37','21','1','4'); +INSERT INTO `glpi_notificationtargets` VALUES ('38','21','1','6'); +INSERT INTO `glpi_notificationtargets` VALUES ('39','21','1','7'); +INSERT INTO `glpi_notificationtargets` VALUES ('40','21','1','8'); +INSERT INTO `glpi_notificationtargets` VALUES ('41','21','1','9'); +INSERT INTO `glpi_notificationtargets` VALUES ('42','21','1','10'); +INSERT INTO `glpi_notificationtargets` VALUES ('43','21','1','11'); +INSERT INTO `glpi_notificationtargets` VALUES ('75','1','1','41'); +INSERT INTO `glpi_notificationtargets` VALUES ('46','1','1','28'); +INSERT INTO `glpi_notificationtargets` VALUES ('47','3','1','29'); +INSERT INTO `glpi_notificationtargets` VALUES ('48','1','1','29'); +INSERT INTO `glpi_notificationtargets` VALUES ('49','21','1','29'); +INSERT INTO `glpi_notificationtargets` VALUES ('50','2','1','30'); +INSERT INTO `glpi_notificationtargets` VALUES ('51','4','1','30'); +INSERT INTO `glpi_notificationtargets` VALUES ('52','3','1','30'); +INSERT INTO `glpi_notificationtargets` VALUES ('53','1','1','30'); +INSERT INTO `glpi_notificationtargets` VALUES ('54','21','1','30'); +INSERT INTO `glpi_notificationtargets` VALUES ('55','3','1','31'); +INSERT INTO `glpi_notificationtargets` VALUES ('56','1','1','31'); +INSERT INTO `glpi_notificationtargets` VALUES ('57','21','1','31'); +INSERT INTO `glpi_notificationtargets` VALUES ('58','3','1','32'); +INSERT INTO `glpi_notificationtargets` VALUES ('59','1','1','32'); +INSERT INTO `glpi_notificationtargets` VALUES ('60','21','1','32'); +INSERT INTO `glpi_notificationtargets` VALUES ('61','3','1','33'); +INSERT INTO `glpi_notificationtargets` VALUES ('62','1','1','33'); +INSERT INTO `glpi_notificationtargets` VALUES ('63','21','1','33'); +INSERT INTO `glpi_notificationtargets` VALUES ('64','3','1','34'); +INSERT INTO `glpi_notificationtargets` VALUES ('65','1','1','34'); +INSERT INTO `glpi_notificationtargets` VALUES ('66','21','1','34'); +INSERT INTO `glpi_notificationtargets` VALUES ('67','3','1','35'); +INSERT INTO `glpi_notificationtargets` VALUES ('68','1','1','35'); +INSERT INTO `glpi_notificationtargets` VALUES ('69','21','1','35'); +INSERT INTO `glpi_notificationtargets` VALUES ('70','3','1','36'); +INSERT INTO `glpi_notificationtargets` VALUES ('71','1','1','36'); +INSERT INTO `glpi_notificationtargets` VALUES ('72','21','1','36'); +INSERT INTO `glpi_notificationtargets` VALUES ('73','14','1','37'); +INSERT INTO `glpi_notificationtargets` VALUES ('74','3','1','40'); +INSERT INTO `glpi_notificationtargets` VALUES ('76','3','1','42'); +INSERT INTO `glpi_notificationtargets` VALUES ('77','1','1','42'); +INSERT INTO `glpi_notificationtargets` VALUES ('78','21','1','42'); +INSERT INTO `glpi_notificationtargets` VALUES ('79','2','1','43'); +INSERT INTO `glpi_notificationtargets` VALUES ('80','4','1','43'); +INSERT INTO `glpi_notificationtargets` VALUES ('81','3','1','43'); +INSERT INTO `glpi_notificationtargets` VALUES ('82','1','1','43'); +INSERT INTO `glpi_notificationtargets` VALUES ('83','21','1','43'); +INSERT INTO `glpi_notificationtargets` VALUES ('84','3','1','44'); +INSERT INTO `glpi_notificationtargets` VALUES ('85','1','1','44'); +INSERT INTO `glpi_notificationtargets` VALUES ('86','21','1','44'); +INSERT INTO `glpi_notificationtargets` VALUES ('87','3','1','45'); +INSERT INTO `glpi_notificationtargets` VALUES ('88','1','1','45'); +INSERT INTO `glpi_notificationtargets` VALUES ('89','21','1','45'); +INSERT INTO `glpi_notificationtargets` VALUES ('90','3','1','46'); +INSERT INTO `glpi_notificationtargets` VALUES ('91','1','1','46'); +INSERT INTO `glpi_notificationtargets` VALUES ('92','21','1','46'); +INSERT INTO `glpi_notificationtargets` VALUES ('93','3','1','47'); +INSERT INTO `glpi_notificationtargets` VALUES ('94','1','1','47'); +INSERT INTO `glpi_notificationtargets` VALUES ('95','21','1','47'); +INSERT INTO `glpi_notificationtargets` VALUES ('96','3','1','48'); +INSERT INTO `glpi_notificationtargets` VALUES ('97','1','1','48'); +INSERT INTO `glpi_notificationtargets` VALUES ('98','21','1','48'); +INSERT INTO `glpi_notificationtargets` VALUES ('99','3','1','49'); +INSERT INTO `glpi_notificationtargets` VALUES ('100','1','1','49'); +INSERT INTO `glpi_notificationtargets` VALUES ('101','21','1','49'); +INSERT INTO `glpi_notificationtargets` VALUES ('102','3','1','50'); +INSERT INTO `glpi_notificationtargets` VALUES ('103','2','1','50'); +INSERT INTO `glpi_notificationtargets` VALUES ('104','1','1','51'); +INSERT INTO `glpi_notificationtargets` VALUES ('105','27','1','52'); +INSERT INTO `glpi_notificationtargets` VALUES ('106','1','1','52'); +INSERT INTO `glpi_notificationtargets` VALUES ('107','28','1','52'); +INSERT INTO `glpi_notificationtargets` VALUES ('108','27','1','53'); +INSERT INTO `glpi_notificationtargets` VALUES ('109','1','1','53'); +INSERT INTO `glpi_notificationtargets` VALUES ('110','28','1','53'); +INSERT INTO `glpi_notificationtargets` VALUES ('111','27','1','54'); +INSERT INTO `glpi_notificationtargets` VALUES ('112','1','1','54'); +INSERT INTO `glpi_notificationtargets` VALUES ('113','28','1','54'); +INSERT INTO `glpi_notificationtargets` VALUES ('114','31','1','55'); +INSERT INTO `glpi_notificationtargets` VALUES ('115','1','1','55'); +INSERT INTO `glpi_notificationtargets` VALUES ('116','32','1','55'); +INSERT INTO `glpi_notificationtargets` VALUES ('117','31','1','56'); +INSERT INTO `glpi_notificationtargets` VALUES ('118','1','1','56'); +INSERT INTO `glpi_notificationtargets` VALUES ('119','32','1','56'); +INSERT INTO `glpi_notificationtargets` VALUES ('120','31','1','57'); +INSERT INTO `glpi_notificationtargets` VALUES ('121','1','1','57'); +INSERT INTO `glpi_notificationtargets` VALUES ('122','32','1','57'); + +### Dump table glpi_notificationtemplates + +DROP TABLE IF EXISTS `glpi_notificationtemplates`; +CREATE TABLE `glpi_notificationtemplates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `date_mod` datetime DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `css` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `itemtype` (`itemtype`), + KEY `date_mod` (`date_mod`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_notificationtemplates` VALUES ('1','MySQL Synchronization','DBConnection','2010-02-01 15:51:46','',NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('2','Reservations','Reservation','2010-02-03 14:03:45','',NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('3','Alert Reservation','Reservation','2010-02-03 14:03:45','',NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('4','Tickets','Ticket','2010-02-07 21:39:15','',NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('5','Tickets (Simple)','Ticket','2010-02-07 21:39:15','',NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('6','Alert Tickets not closed','Ticket','2010-02-07 21:39:15','',NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('7','Tickets Validation','Ticket','2010-02-26 21:39:15','',NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('8','Cartridges','CartridgeItem','2010-02-16 13:17:24','',NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('9','Consumables','ConsumableItem','2010-02-16 13:17:38','',NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('10','Infocoms','Infocom','2010-02-16 13:17:55','',NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('11','Licenses','SoftwareLicense','2010-02-16 13:18:12','',NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('12','Contracts','Contract','2010-02-16 13:18:12','',NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('13','Password Forget','User','2011-03-04 11:35:13',NULL,NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('14','Ticket Satisfaction','Ticket','2011-03-04 11:35:15',NULL,NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('15','Item not unique','FieldUnicity','2011-03-04 11:35:16',NULL,NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('16','Crontask','Crontask','2011-03-04 11:35:16',NULL,NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('17','Problems','Problem','2011-12-06 09:48:33',NULL,NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('18','Planning recall','PlanningRecall','2014-01-15 14:35:24',NULL,NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('19','Changes','Change','2014-04-16 16:47:33',NULL,NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('20','Receiver errors','MailCollector','2014-04-16 16:47:34',NULL,NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('21','Projects','Project','2014-04-16 16:47:36',NULL,NULL); +INSERT INTO `glpi_notificationtemplates` VALUES ('22','Project Tasks','ProjectTask','2014-04-16 16:47:36',NULL,NULL); + +### Dump table glpi_notificationtemplatetranslations + +DROP TABLE IF EXISTS `glpi_notificationtemplatetranslations`; +CREATE TABLE `glpi_notificationtemplatetranslations` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `notificationtemplates_id` int(11) NOT NULL DEFAULT '0', + `language` char(5) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `subject` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `content_text` text COLLATE utf8_unicode_ci, + `content_html` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `notificationtemplates_id` (`notificationtemplates_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('1','1','','##lang.dbconnection.title##','##lang.dbconnection.delay## : ##dbconnection.delay## +','<p>##lang.dbconnection.delay## : ##dbconnection.delay##</p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('2','2','','##reservation.action##','====================================================================== +##lang.reservation.user##: ##reservation.user## +##lang.reservation.item.name##: ##reservation.itemtype## - ##reservation.item.name## +##IFreservation.tech## ##lang.reservation.tech## ##reservation.tech## ##ENDIFreservation.tech## +##lang.reservation.begin##: ##reservation.begin## +##lang.reservation.end##: ##reservation.end## +##lang.reservation.comment##: ##reservation.comment## +====================================================================== +','<!-- description{ color: inherit; background: #ebebeb;border-style: solid;border-color: #8d8d8d; border-width: 0px 1px 1px 0px; } --> +<p><span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.reservation.user##:</span>##reservation.user##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.reservation.item.name##:</span>##reservation.itemtype## - ##reservation.item.name##<br />##IFreservation.tech## ##lang.reservation.tech## ##reservation.tech####ENDIFreservation.tech##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.reservation.begin##:</span> ##reservation.begin##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.reservation.end##:</span>##reservation.end##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.reservation.comment##:</span> ##reservation.comment##</p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('3','3','','##reservation.action## ##reservation.entity##','##lang.reservation.entity## : ##reservation.entity## + + +##FOREACHreservations## +##lang.reservation.itemtype## : ##reservation.itemtype## + + ##lang.reservation.item## : ##reservation.item## + + ##reservation.url## + + ##ENDFOREACHreservations##','<p>##lang.reservation.entity## : ##reservation.entity## <br /> <br /> +##FOREACHreservations## <br />##lang.reservation.itemtype## : ##reservation.itemtype##<br /> + ##lang.reservation.item## : ##reservation.item##<br /> <br /> + <a href=\"##reservation.url##\"> ##reservation.url##</a><br /> + ##ENDFOREACHreservations##</p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('4','4','','##ticket.action## ##ticket.title##',' ##IFticket.storestatus=5## + ##lang.ticket.url## : ##ticket.urlapprove## + ##lang.ticket.autoclosewarning## + ##lang.ticket.solvedate## : ##ticket.solvedate## + ##lang.ticket.solution.type## : ##ticket.solution.type## + ##lang.ticket.solution.description## : ##ticket.solution.description## ##ENDIFticket.storestatus## + ##ELSEticket.storestatus## ##lang.ticket.url## : ##ticket.url## ##ENDELSEticket.storestatus## + + ##lang.ticket.description## + + ##lang.ticket.title## : ##ticket.title## + ##lang.ticket.authors## : ##IFticket.authors## ##ticket.authors## ##ENDIFticket.authors## ##ELSEticket.authors##--##ENDELSEticket.authors## + ##lang.ticket.creationdate## : ##ticket.creationdate## + ##lang.ticket.closedate## : ##ticket.closedate## + ##lang.ticket.requesttype## : ##ticket.requesttype## +##IFticket.itemtype## ##lang.ticket.item.name## : ##ticket.itemtype## - ##ticket.item.name## ##IFticket.item.model## - ##ticket.item.model## ##ENDIFticket.item.model## ##IFticket.item.serial## - ##ticket.item.serial## ##ENDIFticket.item.serial## ##IFticket.item.otherserial## -##ticket.item.otherserial## ##ENDIFticket.item.otherserial## ##ENDIFticket.itemtype## +##IFticket.assigntousers## ##lang.ticket.assigntousers## : ##ticket.assigntousers## ##ENDIFticket.assigntousers## + ##lang.ticket.status## : ##ticket.status## +##IFticket.assigntogroups## ##lang.ticket.assigntogroups## : ##ticket.assigntogroups## ##ENDIFticket.assigntogroups## + ##lang.ticket.urgency## : ##ticket.urgency## + ##lang.ticket.impact## : ##ticket.impact## + ##lang.ticket.priority## : ##ticket.priority## +##IFticket.user.email## ##lang.ticket.user.email## : ##ticket.user.email ##ENDIFticket.user.email## +##IFticket.category## ##lang.ticket.category## : ##ticket.category## ##ENDIFticket.category## ##ELSEticket.category## ##lang.ticket.nocategoryassigned## ##ENDELSEticket.category## + ##lang.ticket.content## : ##ticket.content## + ##IFticket.storestatus=6## + + ##lang.ticket.solvedate## : ##ticket.solvedate## + ##lang.ticket.solution.type## : ##ticket.solution.type## + ##lang.ticket.solution.description## : ##ticket.solution.description## + ##ENDIFticket.storestatus## + ##lang.ticket.numberoffollowups## : ##ticket.numberoffollowups## + +##FOREACHfollowups## + + [##followup.date##] ##lang.followup.isprivate## : ##followup.isprivate## + ##lang.followup.author## ##followup.author## + ##lang.followup.description## ##followup.description## + ##lang.followup.date## ##followup.date## + ##lang.followup.requesttype## ##followup.requesttype## + +##ENDFOREACHfollowups## + ##lang.ticket.numberoftasks## : ##ticket.numberoftasks## + +##FOREACHtasks## + + [##task.date##] ##lang.task.isprivate## : ##task.isprivate## + ##lang.task.author## ##task.author## + ##lang.task.description## ##task.description## + ##lang.task.time## ##task.time## + ##lang.task.category## ##task.category## + +##ENDFOREACHtasks##',' +
##IFticket.storestatus=5##
+
##lang.ticket.url## : ##ticket.urlapprove##  
+
##lang.ticket.autoclosewarning##
+
##lang.ticket.solvedate## : ##ticket.solvedate##
##lang.ticket.solution.type## : ##ticket.solution.type##
##lang.ticket.solution.description## : ##ticket.solution.description## ##ENDIFticket.storestatus##
+
##ELSEticket.storestatus## ##lang.ticket.url## : ##ticket.url## ##ENDELSEticket.storestatus##
+

##lang.ticket.description##

+

##lang.ticket.title## :##ticket.title##
##lang.ticket.authors## :##IFticket.authors## ##ticket.authors## ##ENDIFticket.authors## ##ELSEticket.authors##--##ENDELSEticket.authors##
##lang.ticket.creationdate## :##ticket.creationdate##
##lang.ticket.closedate## :##ticket.closedate##
##lang.ticket.requesttype## :##ticket.requesttype##
##IFticket.itemtype## ##lang.ticket.item.name## : ##ticket.itemtype## - ##ticket.item.name## ##IFticket.item.model## - ##ticket.item.model## ##ENDIFticket.item.model## ##IFticket.item.serial## -##ticket.item.serial## ##ENDIFticket.item.serial##  ##IFticket.item.otherserial## -##ticket.item.otherserial## ##ENDIFticket.item.otherserial## ##ENDIFticket.itemtype##
##IFticket.assigntousers## ##lang.ticket.assigntousers## : ##ticket.assigntousers## ##ENDIFticket.assigntousers##
##lang.ticket.status##  : ##ticket.status##
##IFticket.assigntogroups## ##lang.ticket.assigntogroups## : ##ticket.assigntogroups## ##ENDIFticket.assigntogroups##
##lang.ticket.urgency## : ##ticket.urgency##
##lang.ticket.impact## : ##ticket.impact##
##lang.ticket.priority## : ##ticket.priority##
##IFticket.user.email## ##lang.ticket.user.email## : ##ticket.user.email ##ENDIFticket.user.email##
##IFticket.category####lang.ticket.category##  :##ticket.category## ##ENDIFticket.category## ##ELSEticket.category## ##lang.ticket.nocategoryassigned## ##ENDELSEticket.category##
##lang.ticket.content## : ##ticket.content##

+
##IFticket.storestatus=6##
##lang.ticket.solvedate## : ##ticket.solvedate##
##lang.ticket.solution.type## : ##ticket.solution.type##
##lang.ticket.solution.description## : ##ticket.solution.description##
##ENDIFticket.storestatus##

+
##lang.ticket.numberoffollowups## : ##ticket.numberoffollowups##
+

##FOREACHfollowups##

+

[##followup.date##] ##lang.followup.isprivate## : ##followup.isprivate##
##lang.followup.author## ##followup.author##
##lang.followup.description## ##followup.description##
##lang.followup.date## ##followup.date##
##lang.followup.requesttype## ##followup.requesttype##
+

##ENDFOREACHfollowups##

+
##lang.ticket.numberoftasks## : ##ticket.numberoftasks##
+

##FOREACHtasks##

+

[##task.date##] ##lang.task.isprivate## : ##task.isprivate##
##lang.task.author## ##task.author##
##lang.task.description## ##task.description##
##lang.task.time## ##task.time##
##lang.task.category## ##task.category##
+

##ENDFOREACHtasks##

'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('5','12','','##contract.action## ##contract.entity##','##lang.contract.entity## : ##contract.entity## + +##FOREACHcontracts## +##lang.contract.name## : ##contract.name## +##lang.contract.number## : ##contract.number## +##lang.contract.time## : ##contract.time## +##IFcontract.type####lang.contract.type## : ##contract.type####ENDIFcontract.type## +##contract.url## +##ENDFOREACHcontracts##','<p>##lang.contract.entity## : ##contract.entity##<br /> +<br />##FOREACHcontracts##<br />##lang.contract.name## : +##contract.name##<br /> +##lang.contract.number## : ##contract.number##<br /> +##lang.contract.time## : ##contract.time##<br /> +##IFcontract.type####lang.contract.type## : ##contract.type## +##ENDIFcontract.type##<br /> +<a href=\"##contract.url##\"> +##contract.url##</a><br /> +##ENDFOREACHcontracts##</p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('6','5','','##ticket.action## ##ticket.title##','##lang.ticket.url## : ##ticket.url## + +##lang.ticket.description## + + +##lang.ticket.title##  :##ticket.title## + +##lang.ticket.authors##  :##IFticket.authors## +##ticket.authors## ##ENDIFticket.authors## +##ELSEticket.authors##--##ENDELSEticket.authors##   + +##IFticket.category## ##lang.ticket.category##  :##ticket.category## +##ENDIFticket.category## ##ELSEticket.category## +##lang.ticket.nocategoryassigned## ##ENDELSEticket.category## + +##lang.ticket.content##  : ##ticket.content## +##IFticket.itemtype## +##lang.ticket.item.name##  : ##ticket.itemtype## - ##ticket.item.name## +##ENDIFticket.itemtype##','<div>##lang.ticket.url## : <a href=\"##ticket.url##\"> +##ticket.url##</a></div> +<div class=\"description b\"> +##lang.ticket.description##</div> +<p><span +style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> +##lang.ticket.title##</span> :##ticket.title## +<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> +##lang.ticket.authors##</span> +##IFticket.authors## ##ticket.authors## +##ENDIFticket.authors## +##ELSEticket.authors##--##ENDELSEticket.authors## +<span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">  +;</span><br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> </span> +##IFticket.category##<span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> +##lang.ticket.category## </span> :##ticket.category## +##ENDIFticket.category## ##ELSEticket.category## +##lang.ticket.nocategoryassigned## ##ENDELSEticket.category## +<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> +##lang.ticket.content##</span> : +##ticket.content##<br />##IFticket.itemtype## +<span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> +##lang.ticket.item.name##</span> : +##ticket.itemtype## - ##ticket.item.name## +##ENDIFticket.itemtype##</p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('15','15','','##lang.unicity.action##','##lang.unicity.entity## : ##unicity.entity## + +##lang.unicity.itemtype## : ##unicity.itemtype## + +##lang.unicity.message## : ##unicity.message## + +##lang.unicity.action_user## : ##unicity.action_user## + +##lang.unicity.action_type## : ##unicity.action_type## + +##lang.unicity.date## : ##unicity.date##','<p>##lang.unicity.entity## : ##unicity.entity##</p> +<p>##lang.unicity.itemtype## : ##unicity.itemtype##</p> +<p>##lang.unicity.message## : ##unicity.message##</p> +<p>##lang.unicity.action_user## : ##unicity.action_user##</p> +<p>##lang.unicity.action_type## : ##unicity.action_type##</p> +<p>##lang.unicity.date## : ##unicity.date##</p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('7','7','','##ticket.action## ##ticket.title##','##FOREACHvalidations## + +##IFvalidation.storestatus=2## +##validation.submission.title## +##lang.validation.commentsubmission## : ##validation.commentsubmission## +##ENDIFvalidation.storestatus## +##ELSEvalidation.storestatus## ##validation.answer.title## ##ENDELSEvalidation.storestatus## + +##lang.ticket.url## : ##ticket.urlvalidation## + +##IFvalidation.status## ##lang.validation.status## : ##validation.status## ##ENDIFvalidation.status## +##IFvalidation.commentvalidation## +##lang.validation.commentvalidation## : ##validation.commentvalidation## +##ENDIFvalidation.commentvalidation## +##ENDFOREACHvalidations##','<div>##FOREACHvalidations##</div> +<p>##IFvalidation.storestatus=2##</p> +<div>##validation.submission.title##</div> +<div>##lang.validation.commentsubmission## : ##validation.commentsubmission##</div> +<div>##ENDIFvalidation.storestatus##</div> +<div>##ELSEvalidation.storestatus## ##validation.answer.title## ##ENDELSEvalidation.storestatus##</div> +<div></div> +<div> +<div>##lang.ticket.url## : <a href=\"##ticket.urlvalidation##\"> ##ticket.urlvalidation## </a></div> +</div> +<p>##IFvalidation.status## ##lang.validation.status## : ##validation.status## ##ENDIFvalidation.status## +<br /> ##IFvalidation.commentvalidation##<br /> ##lang.validation.commentvalidation## : +  ##validation.commentvalidation##<br /> ##ENDIFvalidation.commentvalidation## +<br />##ENDFOREACHvalidations##</p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('8','6','','##ticket.action## ##ticket.entity##','##lang.ticket.entity## : ##ticket.entity## + +##FOREACHtickets## + +##lang.ticket.title## : ##ticket.title## + ##lang.ticket.status## : ##ticket.status## + + ##ticket.url## + ##ENDFOREACHtickets##','<table class=\"tab_cadre\" border=\"1\" cellspacing=\"2\" cellpadding=\"3\"> +<tbody> +<tr> +<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.authors##</span></td> +<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.title##</span></td> +<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.priority##</span></td> +<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.status##</span></td> +<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.attribution##</span></td> +<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.creationdate##</span></td> +<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.content##</span></td> +</tr> +##FOREACHtickets## +<tr> +<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\">##ticket.authors##</span></td> +<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\"><a href=\"##ticket.url##\">##ticket.title##</a></span></td> +<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\">##ticket.priority##</span></td> +<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\">##ticket.status##</span></td> +<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\">##IFticket.assigntousers####ticket.assigntousers##<br />##ENDIFticket.assigntousers####IFticket.assigntogroups##<br />##ticket.assigntogroups## ##ENDIFticket.assigntogroups####IFticket.assigntosupplier##<br />##ticket.assigntosupplier## ##ENDIFticket.assigntosupplier##</span></td> +<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\">##ticket.creationdate##</span></td> +<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\">##ticket.content##</span></td> +</tr> +##ENDFOREACHtickets## +</tbody> +</table>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('9','9','','##consumable.action## ##consumable.entity##','##lang.consumable.entity## : ##consumable.entity## + + +##FOREACHconsumables## +##lang.consumable.item## : ##consumable.item## + + +##lang.consumable.reference## : ##consumable.reference## + +##lang.consumable.remaining## : ##consumable.remaining## + +##consumable.url## + +##ENDFOREACHconsumables##','<p> +##lang.consumable.entity## : ##consumable.entity## +<br /> <br />##FOREACHconsumables## +<br />##lang.consumable.item## : ##consumable.item##<br /> +<br />##lang.consumable.reference## : ##consumable.reference##<br /> +##lang.consumable.remaining## : ##consumable.remaining##<br /> +<a href=\"##consumable.url##\"> ##consumable.url##</a><br /> + ##ENDFOREACHconsumables##</p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('10','8','','##cartridge.action## ##cartridge.entity##','##lang.cartridge.entity## : ##cartridge.entity## + + +##FOREACHcartridges## +##lang.cartridge.item## : ##cartridge.item## + + +##lang.cartridge.reference## : ##cartridge.reference## + +##lang.cartridge.remaining## : ##cartridge.remaining## + +##cartridge.url## + ##ENDFOREACHcartridges##','<p>##lang.cartridge.entity## : ##cartridge.entity## +<br /> <br />##FOREACHcartridges## +<br />##lang.cartridge.item## : +##cartridge.item##<br /> <br /> +##lang.cartridge.reference## : +##cartridge.reference##<br /> +##lang.cartridge.remaining## : +##cartridge.remaining##<br /> +<a href=\"##cartridge.url##\"> +##cartridge.url##</a><br /> +##ENDFOREACHcartridges##</p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('11','10','','##infocom.action## ##infocom.entity##','##lang.infocom.entity## : ##infocom.entity## + + +##FOREACHinfocoms## + +##lang.infocom.itemtype## : ##infocom.itemtype## + +##lang.infocom.item## : ##infocom.item## + + +##lang.infocom.expirationdate## : ##infocom.expirationdate## + +##infocom.url## + ##ENDFOREACHinfocoms##','<p>##lang.infocom.entity## : ##infocom.entity## +<br /> <br />##FOREACHinfocoms## +<br />##lang.infocom.itemtype## : ##infocom.itemtype##<br /> +##lang.infocom.item## : ##infocom.item##<br /> <br /> +##lang.infocom.expirationdate## : ##infocom.expirationdate## +<br /> <a href=\"##infocom.url##\"> +##infocom.url##</a><br /> +##ENDFOREACHinfocoms##</p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('12','11','','##license.action## ##license.entity##','##lang.license.entity## : ##license.entity## + +##FOREACHlicenses## + +##lang.license.item## : ##license.item## + +##lang.license.serial## : ##license.serial## + +##lang.license.expirationdate## : ##license.expirationdate## + +##license.url## + ##ENDFOREACHlicenses##','<p> +##lang.license.entity## : ##license.entity##<br /> +##FOREACHlicenses## +<br />##lang.license.item## : ##license.item##<br /> +##lang.license.serial## : ##license.serial##<br /> +##lang.license.expirationdate## : ##license.expirationdate## +<br /> <a href=\"##license.url##\"> ##license.url## +</a><br /> ##ENDFOREACHlicenses##</p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('13','13','','##user.action##','##user.realname## ##user.firstname## + +##lang.passwordforget.information## + +##lang.passwordforget.link## ##user.passwordforgeturl##','<p><strong>##user.realname## ##user.firstname##</strong></p> +<p>##lang.passwordforget.information##</p> +<p>##lang.passwordforget.link## <a title=\"##user.passwordforgeturl##\" href=\"##user.passwordforgeturl##\">##user.passwordforgeturl##</a></p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('14','14','','##ticket.action## ##ticket.title##','##lang.ticket.title## : ##ticket.title## + +##lang.ticket.closedate## : ##ticket.closedate## + +##lang.satisfaction.text## ##ticket.urlsatisfaction##','<p>##lang.ticket.title## : ##ticket.title##</p> +<p>##lang.ticket.closedate## : ##ticket.closedate##</p> +<p>##lang.satisfaction.text## <a href=\"##ticket.urlsatisfaction##\">##ticket.urlsatisfaction##</a></p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('16','16','','##crontask.action##','##lang.crontask.warning## + +##FOREACHcrontasks## + ##crontask.name## : ##crontask.description## + +##ENDFOREACHcrontasks##','<p>##lang.crontask.warning##</p> +<p>##FOREACHcrontasks## <br /><a href=\"##crontask.url##\">##crontask.name##</a> : ##crontask.description##<br /> <br />##ENDFOREACHcrontasks##</p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('17','17','','##problem.action## ##problem.title##','##IFproblem.storestatus=5## + ##lang.problem.url## : ##problem.urlapprove## + ##lang.problem.solvedate## : ##problem.solvedate## + ##lang.problem.solution.type## : ##problem.solution.type## + ##lang.problem.solution.description## : ##problem.solution.description## ##ENDIFproblem.storestatus## + ##ELSEproblem.storestatus## ##lang.problem.url## : ##problem.url## ##ENDELSEproblem.storestatus## + + ##lang.problem.description## + + ##lang.problem.title##  :##problem.title## + ##lang.problem.authors##  :##IFproblem.authors## ##problem.authors## ##ENDIFproblem.authors## ##ELSEproblem.authors##--##ENDELSEproblem.authors## + ##lang.problem.creationdate##  :##problem.creationdate## + ##IFproblem.assigntousers## ##lang.problem.assigntousers##  : ##problem.assigntousers## ##ENDIFproblem.assigntousers## + ##lang.problem.status##  : ##problem.status## + ##IFproblem.assigntogroups## ##lang.problem.assigntogroups##  : ##problem.assigntogroups## ##ENDIFproblem.assigntogroups## + ##lang.problem.urgency##  : ##problem.urgency## + ##lang.problem.impact##  : ##problem.impact## + ##lang.problem.priority## : ##problem.priority## +##IFproblem.category## ##lang.problem.category##  :##problem.category## ##ENDIFproblem.category## ##ELSEproblem.category## ##lang.problem.nocategoryassigned## ##ENDELSEproblem.category## + ##lang.problem.content##  : ##problem.content## + +##IFproblem.storestatus=6## + ##lang.problem.solvedate## : ##problem.solvedate## + ##lang.problem.solution.type## : ##problem.solution.type## + ##lang.problem.solution.description## : ##problem.solution.description## +##ENDIFproblem.storestatus## + ##lang.problem.numberoftickets## : ##problem.numberoftickets## + +##FOREACHtickets## + [##ticket.date##] ##lang.problem.title## : ##ticket.title## + ##lang.problem.content## ##ticket.content## + +##ENDFOREACHtickets## + ##lang.problem.numberoftasks## : ##problem.numberoftasks## + +##FOREACHtasks## + [##task.date##] + ##lang.task.author## ##task.author## + ##lang.task.description## ##task.description## + ##lang.task.time## ##task.time## + ##lang.task.category## ##task.category## + +##ENDFOREACHtasks## +','<p>##IFproblem.storestatus=5##</p> +<div>##lang.problem.url## : <a href=\"##problem.urlapprove##\">##problem.urlapprove##</a></div> +<div><span style=\"color: #888888;\"><strong><span style=\"text-decoration: underline;\">##lang.problem.solvedate##</span></strong></span> : ##problem.solvedate##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.problem.solution.type##</strong></span> : ##problem.solution.type##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.problem.solution.description##</strong></span> : ##problem.solution.description## ##ENDIFproblem.storestatus##</div> +<div>##ELSEproblem.storestatus## ##lang.problem.url## : <a href=\"##problem.url##\">##problem.url##</a> ##ENDELSEproblem.storestatus##</div> +<p class=\"description b\"><strong>##lang.problem.description##</strong></p> +<p><span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.title##</span> :##problem.title## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.authors##</span> :##IFproblem.authors## ##problem.authors## ##ENDIFproblem.authors## ##ELSEproblem.authors##--##ENDELSEproblem.authors## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.creationdate##</span> :##problem.creationdate## <br /> ##IFproblem.assigntousers## <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.assigntousers##</span> : ##problem.assigntousers## ##ENDIFproblem.assigntousers##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.problem.status## </span> : ##problem.status##<br /> ##IFproblem.assigntogroups## <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.assigntogroups##</span> : ##problem.assigntogroups## ##ENDIFproblem.assigntogroups##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.urgency##</span> : ##problem.urgency##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.impact##</span> : ##problem.impact##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.priority##</span> : ##problem.priority## <br />##IFproblem.category##<span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.problem.category## </span> :##problem.category## ##ENDIFproblem.category## ##ELSEproblem.category## ##lang.problem.nocategoryassigned## ##ENDELSEproblem.category## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.content##</span> : ##problem.content##</p> +<p>##IFproblem.storestatus=6##<br /><span style=\"text-decoration: underline;\"><strong><span style=\"color: #888888;\">##lang.problem.solvedate##</span></strong></span> : ##problem.solvedate##<br /><span style=\"color: #888888;\"><strong><span style=\"text-decoration: underline;\">##lang.problem.solution.type##</span></strong></span> : ##problem.solution.type##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.problem.solution.description##</strong></span> : ##problem.solution.description##<br />##ENDIFproblem.storestatus##</p> +<div class=\"description b\">##lang.problem.numberoftickets## : ##problem.numberoftickets##</div> +<p>##FOREACHtickets##</p> +<div><strong> [##ticket.date##] <em>##lang.problem.title## : <a href=\"##ticket.url##\">##ticket.title## </a></em></strong><br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> </span><span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.problem.content## </span> ##ticket.content## +<p>##ENDFOREACHtickets##</p> +<div class=\"description b\">##lang.problem.numberoftasks## : ##problem.numberoftasks##</div> +<p>##FOREACHtasks##</p> +<div class=\"description b\"><strong>[##task.date##] </strong><br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.author##</span> ##task.author##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.description##</span> ##task.description##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.time##</span> ##task.time##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.category##</span> ##task.category##</div> +<p>##ENDFOREACHtasks##</p> +</div>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('18','18','','##recall.action##: ##recall.item.name##','##recall.action##: ##recall.item.name## + +##recall.item.content## + +##lang.recall.planning.begin##: ##recall.planning.begin## +##lang.recall.planning.end##: ##recall.planning.end## +##lang.recall.planning.state##: ##recall.planning.state## +##lang.recall.item.private##: ##recall.item.private##','<p>##recall.action##: <a href=\"##recall.item.url##\">##recall.item.name##</a></p> +<p>##recall.item.content##</p> +<p>##lang.recall.planning.begin##: ##recall.planning.begin##<br />##lang.recall.planning.end##: ##recall.planning.end##<br />##lang.recall.planning.state##: ##recall.planning.state##<br />##lang.recall.item.private##: ##recall.item.private##<br /><br /></p> +<p><br /><br /></p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('19','19','','##change.action## ##change.title##','##IFchange.storestatus=5## + ##lang.change.url## : ##change.urlapprove## + ##lang.change.solvedate## : ##change.solvedate## + ##lang.change.solution.type## : ##change.solution.type## + ##lang.change.solution.description## : ##change.solution.description## ##ENDIFchange.storestatus## + ##ELSEchange.storestatus## ##lang.change.url## : ##change.url## ##ENDELSEchange.storestatus## + + ##lang.change.description## + + ##lang.change.title## :##change.title## + ##lang.change.authors## :##IFchange.authors## ##change.authors## ##ENDIFchange.authors## ##ELSEchange.authors##--##ENDELSEchange.authors## + ##lang.change.creationdate## :##change.creationdate## + ##IFchange.assigntousers## ##lang.change.assigntousers## : ##change.assigntousers## ##ENDIFchange.assigntousers## + ##lang.change.status## : ##change.status## + ##IFchange.assigntogroups## ##lang.change.assigntogroups## : ##change.assigntogroups## ##ENDIFchange.assigntogroups## + ##lang.change.urgency## : ##change.urgency## + ##lang.change.impact## : ##change.impact## + ##lang.change.priority## : ##change.priority## +##IFchange.category## ##lang.change.category## :##change.category## ##ENDIFchange.category## ##ELSEchange.category## ##lang.change.nocategoryassigned## ##ENDELSEchange.category## + ##lang.change.content## : ##change.content## + +##IFchange.storestatus=6## + ##lang.change.solvedate## : ##change.solvedate## + ##lang.change.solution.type## : ##change.solution.type## + ##lang.change.solution.description## : ##change.solution.description## +##ENDIFchange.storestatus## + ##lang.change.numberofproblems## : ##change.numberofproblems## + +##FOREACHproblems## + [##problem.date##] ##lang.change.title## : ##problem.title## + ##lang.change.content## ##problem.content## + +##ENDFOREACHproblems## + ##lang.change.numberoftasks## : ##change.numberoftasks## + +##FOREACHtasks## + [##task.date##] + ##lang.task.author## ##task.author## + ##lang.task.description## ##task.description## + ##lang.task.time## ##task.time## + ##lang.task.category## ##task.category## + +##ENDFOREACHtasks## +','<p>##IFchange.storestatus=5##</p> +<div>##lang.change.url## : <a href=\"##change.urlapprove##\">##change.urlapprove##</a></div> +<div><span style=\"color: #888888;\"><strong><span style=\"text-decoration: underline;\">##lang.change.solvedate##</span></strong></span> : ##change.solvedate##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.change.solution.type##</strong></span> : ##change.solution.type##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.change.solution.description##</strong></span> : ##change.solution.description## ##ENDIFchange.storestatus##</div> +<div>##ELSEchange.storestatus## ##lang.change.url## : <a href=\"##change.url##\">##change.url##</a> ##ENDELSEchange.storestatus##</div> +<p class=\"description b\"><strong>##lang.change.description##</strong></p> +<p><span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.title##</span> :##change.title## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.authors##</span> :##IFchange.authors## ##change.authors## ##ENDIFchange.authors## ##ELSEchange.authors##--##ENDELSEchange.authors## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.creationdate##</span> :##change.creationdate## <br /> ##IFchange.assigntousers## <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.assigntousers##</span> : ##change.assigntousers## ##ENDIFchange.assigntousers##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.change.status## </span> : ##change.status##<br /> ##IFchange.assigntogroups## <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.assigntogroups##</span> : ##change.assigntogroups## ##ENDIFchange.assigntogroups##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.urgency##</span> : ##change.urgency##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.impact##</span> : ##change.impact##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.priority##</span> : ##change.priority## <br />##IFchange.category##<span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.change.category## </span> :##change.category## ##ENDIFchange.category## ##ELSEchange.category## ##lang.change.nocategoryassigned## ##ENDELSEchange.category## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.content##</span> : ##change.content##</p> +<p>##IFchange.storestatus=6##<br /><span style=\"text-decoration: underline;\"><strong><span style=\"color: #888888;\">##lang.change.solvedate##</span></strong></span> : ##change.solvedate##<br /><span style=\"color: #888888;\"><strong><span style=\"text-decoration: underline;\">##lang.change.solution.type##</span></strong></span> : ##change.solution.type##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.change.solution.description##</strong></span> : ##change.solution.description##<br />##ENDIFchange.storestatus##</p> +<div class=\"description b\">##lang.change.numberofproblems## : ##change.numberofproblems##</div> +<p>##FOREACHproblems##</p> +<div><strong> [##problem.date##] <em>##lang.change.title## : <a href=\"##problem.url##\">##problem.title## </a></em></strong><br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> </span><span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.change.content## </span> ##problem.content## +<p>##ENDFOREACHproblems##</p> +<div class=\"description b\">##lang.change.numberoftasks## : ##change.numberoftasks##</div> +<p>##FOREACHtasks##</p> +<div class=\"description b\"><strong>[##task.date##] </strong><br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.author##</span> ##task.author##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.description##</span> ##task.description##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.time##</span> ##task.time##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.category##</span> ##task.category##</div> +<p>##ENDFOREACHtasks##</p> +</div>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('20','20','','##mailcollector.action##','##FOREACHmailcollectors## +##lang.mailcollector.name## : ##mailcollector.name## +##lang.mailcollector.errors## : ##mailcollector.errors## +##mailcollector.url## +##ENDFOREACHmailcollectors##','<p>##FOREACHmailcollectors##<br />##lang.mailcollector.name## : ##mailcollector.name##<br /> ##lang.mailcollector.errors## : ##mailcollector.errors##<br /><a href=\"##mailcollector.url##\">##mailcollector.url##</a><br /> ##ENDFOREACHmailcollectors##</p> +<p></p>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('21','21','','##project.action## ##project.name## ##project.code##','##lang.project.url## : ##project.url## + +##lang.project.description## + +##lang.project.name## : ##project.name## +##lang.project.code## : ##project.code## +##lang.project.manager## : ##project.manager## +##lang.project.managergroup## : ##project.managergroup## +##lang.project.creationdate## : ##project.creationdate## +##lang.project.priority## : ##project.priority## +##lang.project.state## : ##project.state## +##lang.project.type## : ##project.type## +##lang.project.description## : ##project.description## + +##lang.project.numberoftasks## : ##project.numberoftasks## + + + +##FOREACHtasks## + +[##task.creationdate##] +##lang.task.name## : ##task.name## +##lang.task.state## : ##task.state## +##lang.task.type## : ##task.type## +##lang.task.percent## : ##task.percent## +##lang.task.description## : ##task.description## + +##ENDFOREACHtasks##','<p>##lang.project.url## : <a href=\"##project.url##\">##project.url##</a></p> +<p><strong>##lang.project.description##</strong></p> +<p>##lang.project.name## : ##project.name##<br />##lang.project.code## : ##project.code##<br /> ##lang.project.manager## : ##project.manager##<br />##lang.project.managergroup## : ##project.managergroup##<br /> ##lang.project.creationdate## : ##project.creationdate##<br />##lang.project.priority## : ##project.priority## <br />##lang.project.state## : ##project.state##<br />##lang.project.type## : ##project.type##<br />##lang.project.description## : ##project.description##</p> +<p>##lang.project.numberoftasks## : ##project.numberoftasks##</p> +<div> +<p>##FOREACHtasks##</p> +<div><strong>[##task.creationdate##] </strong><br /> ##lang.task.name## : ##task.name##<br />##lang.task.state## : ##task.state##<br />##lang.task.type## : ##task.type##<br />##lang.task.percent## : ##task.percent##<br />##lang.task.description## : ##task.description##</div> +<p>##ENDFOREACHtasks##</p> +</div>'); +INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('22','22','','##projecttask.action## ##projecttask.name##','##lang.projecttask.url## : ##projecttask.url## + +##lang.projecttask.description## + +##lang.projecttask.name## : ##projecttask.name## +##lang.projecttask.project## : ##projecttask.name## +##lang.projecttask.creationdate## : ##projecttask.creationdate## +##lang.projecttask.state## : ##projecttask.state## +##lang.projecttask.type## : ##projecttask.type## +##lang.projecttask.description## : ##projecttask.description## + +##lang.projecttask.numberoftasks## : ##projecttask.numberoftasks## + + + +##FOREACHtasks## + +[##task.creationdate##] +##lang.task.name## : ##task.name## +##lang.task.state## : ##task.state## +##lang.task.type## : ##task.type## +##lang.task.percent## : ##task.percent## +##lang.task.description## : ##task.description## + +##ENDFOREACHtasks##','<p>##lang.projecttask.url## : <a href=\"##projecttask.url##\">##projecttask.url##</a></p> +<p><strong>##lang.projecttask.description##</strong></p> +<p>##lang.projecttask.name## : ##projecttask.name##<br />##lang.projecttask.project## : <a href=\"##projecttask.projecturl##\">##projecttask.name##</a><br />##lang.projecttask.creationdate## : ##projecttask.creationdate##<br />##lang.projecttask.state## : ##projecttask.state##<br />##lang.projecttask.type## : ##projecttask.type##<br />##lang.projecttask.description## : ##projecttask.description##</p> +<p>##lang.projecttask.numberoftasks## : ##projecttask.numberoftasks##</p> +<div> +<p>##FOREACHtasks##</p> +<div><strong>[##task.creationdate##] </strong><br />##lang.task.name## : ##task.name##<br />##lang.task.state## : ##task.state##<br />##lang.task.type## : ##task.type##<br />##lang.task.percent## : ##task.percent##<br />##lang.task.description## : ##task.description##</div> +<p>##ENDFOREACHtasks##</p> +</div>'); + +### Dump table glpi_notimportedemails + +DROP TABLE IF EXISTS `glpi_notimportedemails`; +CREATE TABLE `glpi_notimportedemails` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `from` varchar(255) NOT NULL, + `to` varchar(255) NOT NULL, + `mailcollectors_id` int(11) NOT NULL DEFAULT '0', + `date` datetime NOT NULL, + `subject` text, + `messageid` varchar(255) NOT NULL, + `reason` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `users_id` (`users_id`), + KEY `mailcollectors_id` (`mailcollectors_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + + +### Dump table glpi_operatingsystems + +DROP TABLE IF EXISTS `glpi_operatingsystems`; +CREATE TABLE `glpi_operatingsystems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_operatingsystemservicepacks + +DROP TABLE IF EXISTS `glpi_operatingsystemservicepacks`; +CREATE TABLE `glpi_operatingsystemservicepacks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_operatingsystemversions + +DROP TABLE IF EXISTS `glpi_operatingsystemversions`; +CREATE TABLE `glpi_operatingsystemversions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_peripheralmodels + +DROP TABLE IF EXISTS `glpi_peripheralmodels`; +CREATE TABLE `glpi_peripheralmodels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_peripherals + +DROP TABLE IF EXISTS `glpi_peripherals`; +CREATE TABLE `glpi_peripherals` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `locations_id` int(11) NOT NULL DEFAULT '0', + `peripheraltypes_id` int(11) NOT NULL DEFAULT '0', + `peripheralmodels_id` int(11) NOT NULL DEFAULT '0', + `brand` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `is_global` tinyint(1) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `states_id` int(11) NOT NULL DEFAULT '0', + `ticket_tco` decimal(20,4) DEFAULT '0.0000', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_template` (`is_template`), + KEY `is_global` (`is_global`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `groups_id` (`groups_id`), + KEY `users_id` (`users_id`), + KEY `locations_id` (`locations_id`), + KEY `peripheralmodels_id` (`peripheralmodels_id`), + KEY `states_id` (`states_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `peripheraltypes_id` (`peripheraltypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `date_mod` (`date_mod`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `is_dynamic` (`is_dynamic`), + KEY `serial` (`serial`), + KEY `otherserial` (`otherserial`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_peripheraltypes + +DROP TABLE IF EXISTS `glpi_peripheraltypes`; +CREATE TABLE `glpi_peripheraltypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_phonemodels + +DROP TABLE IF EXISTS `glpi_phonemodels`; +CREATE TABLE `glpi_phonemodels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_phonepowersupplies + +DROP TABLE IF EXISTS `glpi_phonepowersupplies`; +CREATE TABLE `glpi_phonepowersupplies` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_phones + +DROP TABLE IF EXISTS `glpi_phones`; +CREATE TABLE `glpi_phones` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `firmware` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `locations_id` int(11) NOT NULL DEFAULT '0', + `phonetypes_id` int(11) NOT NULL DEFAULT '0', + `phonemodels_id` int(11) NOT NULL DEFAULT '0', + `brand` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phonepowersupplies_id` int(11) NOT NULL DEFAULT '0', + `number_line` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `have_headset` tinyint(1) NOT NULL DEFAULT '0', + `have_hp` tinyint(1) NOT NULL DEFAULT '0', + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `is_global` tinyint(1) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `states_id` int(11) NOT NULL DEFAULT '0', + `ticket_tco` decimal(20,4) DEFAULT '0.0000', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_template` (`is_template`), + KEY `is_global` (`is_global`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `groups_id` (`groups_id`), + KEY `users_id` (`users_id`), + KEY `locations_id` (`locations_id`), + KEY `phonemodels_id` (`phonemodels_id`), + KEY `phonepowersupplies_id` (`phonepowersupplies_id`), + KEY `states_id` (`states_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `phonetypes_id` (`phonetypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `date_mod` (`date_mod`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `is_dynamic` (`is_dynamic`), + KEY `serial` (`serial`), + KEY `otherserial` (`otherserial`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_phonetypes + +DROP TABLE IF EXISTS `glpi_phonetypes`; +CREATE TABLE `glpi_phonetypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_planningrecalls + +DROP TABLE IF EXISTS `glpi_planningrecalls`; +CREATE TABLE `glpi_planningrecalls` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `before_time` int(11) NOT NULL DEFAULT '-10', + `when` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`itemtype`,`items_id`,`users_id`), + KEY `users_id` (`users_id`), + KEY `before_time` (`before_time`), + KEY `when` (`when`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_plugins + +DROP TABLE IF EXISTS `glpi_plugins`; +CREATE TABLE `glpi_plugins` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `directory` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `state` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php PLUGIN_* constant', + `author` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `homepage` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `license` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`directory`), + KEY `state` (`state`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_printermodels + +DROP TABLE IF EXISTS `glpi_printermodels`; +CREATE TABLE `glpi_printermodels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_printers + +DROP TABLE IF EXISTS `glpi_printers`; +CREATE TABLE `glpi_printers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `have_serial` tinyint(1) NOT NULL DEFAULT '0', + `have_parallel` tinyint(1) NOT NULL DEFAULT '0', + `have_usb` tinyint(1) NOT NULL DEFAULT '0', + `have_wifi` tinyint(1) NOT NULL DEFAULT '0', + `have_ethernet` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `memory_size` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `locations_id` int(11) NOT NULL DEFAULT '0', + `domains_id` int(11) NOT NULL DEFAULT '0', + `networks_id` int(11) NOT NULL DEFAULT '0', + `printertypes_id` int(11) NOT NULL DEFAULT '0', + `printermodels_id` int(11) NOT NULL DEFAULT '0', + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `is_global` tinyint(1) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `init_pages_counter` int(11) NOT NULL DEFAULT '0', + `last_pages_counter` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `states_id` int(11) NOT NULL DEFAULT '0', + `ticket_tco` decimal(20,4) DEFAULT '0.0000', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_template` (`is_template`), + KEY `is_global` (`is_global`), + KEY `domains_id` (`domains_id`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `groups_id` (`groups_id`), + KEY `users_id` (`users_id`), + KEY `locations_id` (`locations_id`), + KEY `printermodels_id` (`printermodels_id`), + KEY `networks_id` (`networks_id`), + KEY `states_id` (`states_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `printertypes_id` (`printertypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `date_mod` (`date_mod`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `last_pages_counter` (`last_pages_counter`), + KEY `is_dynamic` (`is_dynamic`), + KEY `serial` (`serial`), + KEY `otherserial` (`otherserial`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_printertypes + +DROP TABLE IF EXISTS `glpi_printertypes`; +CREATE TABLE `glpi_printertypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_problemcosts + +DROP TABLE IF EXISTS `glpi_problemcosts`; +CREATE TABLE `glpi_problemcosts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `problems_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `begin_date` date DEFAULT NULL, + `end_date` date DEFAULT NULL, + `actiontime` int(11) NOT NULL DEFAULT '0', + `cost_time` decimal(20,4) NOT NULL DEFAULT '0.0000', + `cost_fixed` decimal(20,4) NOT NULL DEFAULT '0.0000', + `cost_material` decimal(20,4) NOT NULL DEFAULT '0.0000', + `budgets_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `problems_id` (`problems_id`), + KEY `begin_date` (`begin_date`), + KEY `end_date` (`end_date`), + KEY `entities_id` (`entities_id`), + KEY `budgets_id` (`budgets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_problems + +DROP TABLE IF EXISTS `glpi_problems`; +CREATE TABLE `glpi_problems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `status` int(11) NOT NULL DEFAULT '1', + `content` longtext COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date` datetime DEFAULT NULL, + `solvedate` datetime DEFAULT NULL, + `closedate` datetime DEFAULT NULL, + `due_date` datetime DEFAULT NULL, + `users_id_recipient` int(11) NOT NULL DEFAULT '0', + `users_id_lastupdater` int(11) NOT NULL DEFAULT '0', + `urgency` int(11) NOT NULL DEFAULT '1', + `impact` int(11) NOT NULL DEFAULT '1', + `priority` int(11) NOT NULL DEFAULT '1', + `itilcategories_id` int(11) NOT NULL DEFAULT '0', + `impactcontent` longtext COLLATE utf8_unicode_ci, + `causecontent` longtext COLLATE utf8_unicode_ci, + `symptomcontent` longtext COLLATE utf8_unicode_ci, + `solutiontypes_id` int(11) NOT NULL DEFAULT '0', + `solution` text COLLATE utf8_unicode_ci, + `actiontime` int(11) NOT NULL DEFAULT '0', + `begin_waiting_date` datetime DEFAULT NULL, + `waiting_duration` int(11) NOT NULL DEFAULT '0', + `close_delay_stat` int(11) NOT NULL DEFAULT '0', + `solve_delay_stat` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `is_deleted` (`is_deleted`), + KEY `date` (`date`), + KEY `closedate` (`closedate`), + KEY `status` (`status`), + KEY `priority` (`priority`), + KEY `date_mod` (`date_mod`), + KEY `itilcategories_id` (`itilcategories_id`), + KEY `users_id_recipient` (`users_id_recipient`), + KEY `solvedate` (`solvedate`), + KEY `solutiontypes_id` (`solutiontypes_id`), + KEY `urgency` (`urgency`), + KEY `impact` (`impact`), + KEY `due_date` (`due_date`), + KEY `users_id_lastupdater` (`users_id_lastupdater`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_problems_suppliers + +DROP TABLE IF EXISTS `glpi_problems_suppliers`; +CREATE TABLE `glpi_problems_suppliers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `problems_id` int(11) NOT NULL DEFAULT '0', + `suppliers_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `use_notification` tinyint(1) NOT NULL DEFAULT '0', + `alternative_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`problems_id`,`type`,`suppliers_id`), + KEY `group` (`suppliers_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_problems_tickets + +DROP TABLE IF EXISTS `glpi_problems_tickets`; +CREATE TABLE `glpi_problems_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `problems_id` int(11) NOT NULL DEFAULT '0', + `tickets_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`problems_id`,`tickets_id`), + KEY `tickets_id` (`tickets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_problems_users + +DROP TABLE IF EXISTS `glpi_problems_users`; +CREATE TABLE `glpi_problems_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `problems_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `use_notification` tinyint(1) NOT NULL DEFAULT '0', + `alternative_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`problems_id`,`type`,`users_id`,`alternative_email`), + KEY `user` (`users_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_problemtasks + +DROP TABLE IF EXISTS `glpi_problemtasks`; +CREATE TABLE `glpi_problemtasks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `problems_id` int(11) NOT NULL DEFAULT '0', + `taskcategories_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `begin` datetime DEFAULT NULL, + `end` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `content` longtext COLLATE utf8_unicode_ci, + `actiontime` int(11) NOT NULL DEFAULT '0', + `state` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `problems_id` (`problems_id`), + KEY `users_id` (`users_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `date` (`date`), + KEY `begin` (`begin`), + KEY `end` (`end`), + KEY `state` (`state`), + KEY `taskcategories_id` (`taskcategories_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_profilerights + +DROP TABLE IF EXISTS `glpi_profilerights`; +CREATE TABLE `glpi_profilerights` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `profiles_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `rights` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`profiles_id`,`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_profilerights` VALUES ('1','1','computer','0'); +INSERT INTO `glpi_profilerights` VALUES ('2','1','monitor','0'); +INSERT INTO `glpi_profilerights` VALUES ('3','1','software','0'); +INSERT INTO `glpi_profilerights` VALUES ('4','1','networking','0'); +INSERT INTO `glpi_profilerights` VALUES ('5','1','internet','0'); +INSERT INTO `glpi_profilerights` VALUES ('6','1','printer','0'); +INSERT INTO `glpi_profilerights` VALUES ('7','1','peripheral','0'); +INSERT INTO `glpi_profilerights` VALUES ('8','1','cartridge','0'); +INSERT INTO `glpi_profilerights` VALUES ('9','1','consumable','0'); +INSERT INTO `glpi_profilerights` VALUES ('10','1','phone','0'); +INSERT INTO `glpi_profilerights` VALUES ('734','6','queuedmail','0'); +INSERT INTO `glpi_profilerights` VALUES ('12','1','contact_enterprise','0'); +INSERT INTO `glpi_profilerights` VALUES ('13','1','document','0'); +INSERT INTO `glpi_profilerights` VALUES ('14','1','contract','0'); +INSERT INTO `glpi_profilerights` VALUES ('15','1','infocom','0'); +INSERT INTO `glpi_profilerights` VALUES ('16','1','knowbase','2048'); +INSERT INTO `glpi_profilerights` VALUES ('20','1','reservation','1024'); +INSERT INTO `glpi_profilerights` VALUES ('21','1','reports','0'); +INSERT INTO `glpi_profilerights` VALUES ('22','1','dropdown','0'); +INSERT INTO `glpi_profilerights` VALUES ('24','1','device','0'); +INSERT INTO `glpi_profilerights` VALUES ('25','1','typedoc','0'); +INSERT INTO `glpi_profilerights` VALUES ('26','1','link','0'); +INSERT INTO `glpi_profilerights` VALUES ('27','1','config','0'); +INSERT INTO `glpi_profilerights` VALUES ('29','1','rule_ticket','0'); +INSERT INTO `glpi_profilerights` VALUES ('30','1','rule_import','0'); +INSERT INTO `glpi_profilerights` VALUES ('31','1','rule_ldap','0'); +INSERT INTO `glpi_profilerights` VALUES ('32','1','rule_softwarecategories','0'); +INSERT INTO `glpi_profilerights` VALUES ('33','1','search_config','0'); +INSERT INTO `glpi_profilerights` VALUES ('684','5','location','0'); +INSERT INTO `glpi_profilerights` VALUES ('679','7','domain','31'); +INSERT INTO `glpi_profilerights` VALUES ('36','1','profile','0'); +INSERT INTO `glpi_profilerights` VALUES ('37','1','user','0'); +INSERT INTO `glpi_profilerights` VALUES ('39','1','group','0'); +INSERT INTO `glpi_profilerights` VALUES ('40','1','entity','0'); +INSERT INTO `glpi_profilerights` VALUES ('41','1','transfer','0'); +INSERT INTO `glpi_profilerights` VALUES ('42','1','logs','0'); +INSERT INTO `glpi_profilerights` VALUES ('43','1','reminder_public','1'); +INSERT INTO `glpi_profilerights` VALUES ('44','1','rssfeed_public','1'); +INSERT INTO `glpi_profilerights` VALUES ('45','1','bookmark_public','0'); +INSERT INTO `glpi_profilerights` VALUES ('46','1','backup','0'); +INSERT INTO `glpi_profilerights` VALUES ('47','1','ticket','5'); +INSERT INTO `glpi_profilerights` VALUES ('51','1','followup','5'); +INSERT INTO `glpi_profilerights` VALUES ('52','1','task','1'); +INSERT INTO `glpi_profilerights` VALUES ('64','1','planning','0'); +INSERT INTO `glpi_profilerights` VALUES ('716','2','state','0'); +INSERT INTO `glpi_profilerights` VALUES ('709','2','taskcategory','0'); +INSERT INTO `glpi_profilerights` VALUES ('67','1','statistic','0'); +INSERT INTO `glpi_profilerights` VALUES ('68','1','password_update','1'); +INSERT INTO `glpi_profilerights` VALUES ('70','1','show_group_hardware','0'); +INSERT INTO `glpi_profilerights` VALUES ('71','1','rule_dictionnary_software','0'); +INSERT INTO `glpi_profilerights` VALUES ('72','1','rule_dictionnary_dropdown','0'); +INSERT INTO `glpi_profilerights` VALUES ('73','1','budget','0'); +INSERT INTO `glpi_profilerights` VALUES ('75','1','notification','0'); +INSERT INTO `glpi_profilerights` VALUES ('76','1','rule_mailcollector','0'); +INSERT INTO `glpi_profilerights` VALUES ('728','7','solutiontemplate','31'); +INSERT INTO `glpi_profilerights` VALUES ('79','1','calendar','0'); +INSERT INTO `glpi_profilerights` VALUES ('80','1','sla','0'); +INSERT INTO `glpi_profilerights` VALUES ('81','1','rule_dictionnary_printer','0'); +INSERT INTO `glpi_profilerights` VALUES ('85','1','problem','0'); +INSERT INTO `glpi_profilerights` VALUES ('702','2','netpoint','0'); +INSERT INTO `glpi_profilerights` VALUES ('697','4','knowbasecategory','31'); +INSERT INTO `glpi_profilerights` VALUES ('691','5','itilcategory','0'); +INSERT INTO `glpi_profilerights` VALUES ('89','1','tickettemplate','0'); +INSERT INTO `glpi_profilerights` VALUES ('90','1','ticketrecurrent','0'); +INSERT INTO `glpi_profilerights` VALUES ('91','1','ticketcost','1'); +INSERT INTO `glpi_profilerights` VALUES ('671','6','changevalidation','20'); +INSERT INTO `glpi_profilerights` VALUES ('94','1','ticketvalidation','0'); +INSERT INTO `glpi_profilerights` VALUES ('95','2','computer','33'); +INSERT INTO `glpi_profilerights` VALUES ('96','2','monitor','33'); +INSERT INTO `glpi_profilerights` VALUES ('97','2','software','33'); +INSERT INTO `glpi_profilerights` VALUES ('98','2','networking','33'); +INSERT INTO `glpi_profilerights` VALUES ('99','2','internet','1'); +INSERT INTO `glpi_profilerights` VALUES ('100','2','printer','33'); +INSERT INTO `glpi_profilerights` VALUES ('101','2','peripheral','33'); +INSERT INTO `glpi_profilerights` VALUES ('102','2','cartridge','33'); +INSERT INTO `glpi_profilerights` VALUES ('103','2','consumable','33'); +INSERT INTO `glpi_profilerights` VALUES ('104','2','phone','33'); +INSERT INTO `glpi_profilerights` VALUES ('733','5','queuedmail','0'); +INSERT INTO `glpi_profilerights` VALUES ('106','2','contact_enterprise','33'); +INSERT INTO `glpi_profilerights` VALUES ('107','2','document','33'); +INSERT INTO `glpi_profilerights` VALUES ('108','2','contract','33'); +INSERT INTO `glpi_profilerights` VALUES ('109','2','infocom','1'); +INSERT INTO `glpi_profilerights` VALUES ('110','2','knowbase','2049'); +INSERT INTO `glpi_profilerights` VALUES ('114','2','reservation','1025'); +INSERT INTO `glpi_profilerights` VALUES ('115','2','reports','1'); +INSERT INTO `glpi_profilerights` VALUES ('116','2','dropdown','0'); +INSERT INTO `glpi_profilerights` VALUES ('118','2','device','0'); +INSERT INTO `glpi_profilerights` VALUES ('119','2','typedoc','1'); +INSERT INTO `glpi_profilerights` VALUES ('120','2','link','1'); +INSERT INTO `glpi_profilerights` VALUES ('121','2','config','0'); +INSERT INTO `glpi_profilerights` VALUES ('123','2','rule_ticket','0'); +INSERT INTO `glpi_profilerights` VALUES ('124','2','rule_import','0'); +INSERT INTO `glpi_profilerights` VALUES ('125','2','rule_ldap','0'); +INSERT INTO `glpi_profilerights` VALUES ('126','2','rule_softwarecategories','0'); +INSERT INTO `glpi_profilerights` VALUES ('127','2','search_config','1055'); +INSERT INTO `glpi_profilerights` VALUES ('683','4','location','31'); +INSERT INTO `glpi_profilerights` VALUES ('678','6','domain','0'); +INSERT INTO `glpi_profilerights` VALUES ('130','2','profile','0'); +INSERT INTO `glpi_profilerights` VALUES ('131','2','user','2049'); +INSERT INTO `glpi_profilerights` VALUES ('133','2','group','1'); +INSERT INTO `glpi_profilerights` VALUES ('134','2','entity','32'); +INSERT INTO `glpi_profilerights` VALUES ('135','2','transfer','0'); +INSERT INTO `glpi_profilerights` VALUES ('136','2','logs','0'); +INSERT INTO `glpi_profilerights` VALUES ('137','2','reminder_public','0'); +INSERT INTO `glpi_profilerights` VALUES ('138','2','rssfeed_public','0'); +INSERT INTO `glpi_profilerights` VALUES ('139','2','bookmark_public','0'); +INSERT INTO `glpi_profilerights` VALUES ('140','2','backup','1024'); +INSERT INTO `glpi_profilerights` VALUES ('141','2','ticket','37917'); +INSERT INTO `glpi_profilerights` VALUES ('145','2','followup','5'); +INSERT INTO `glpi_profilerights` VALUES ('146','2','task','1'); +INSERT INTO `glpi_profilerights` VALUES ('748','6','projecttask','1025'); +INSERT INTO `glpi_profilerights` VALUES ('749','7','projecttask','1025'); +INSERT INTO `glpi_profilerights` VALUES ('158','2','planning','1'); +INSERT INTO `glpi_profilerights` VALUES ('715','1','state','0'); +INSERT INTO `glpi_profilerights` VALUES ('708','1','taskcategory','0'); +INSERT INTO `glpi_profilerights` VALUES ('161','2','statistic','1'); +INSERT INTO `glpi_profilerights` VALUES ('162','2','password_update','1'); +INSERT INTO `glpi_profilerights` VALUES ('164','2','show_group_hardware','0'); +INSERT INTO `glpi_profilerights` VALUES ('165','2','rule_dictionnary_software','0'); +INSERT INTO `glpi_profilerights` VALUES ('166','2','rule_dictionnary_dropdown','0'); +INSERT INTO `glpi_profilerights` VALUES ('167','2','budget','33'); +INSERT INTO `glpi_profilerights` VALUES ('169','2','notification','0'); +INSERT INTO `glpi_profilerights` VALUES ('170','2','rule_mailcollector','0'); +INSERT INTO `glpi_profilerights` VALUES ('726','5','solutiontemplate','0'); +INSERT INTO `glpi_profilerights` VALUES ('727','6','solutiontemplate','0'); +INSERT INTO `glpi_profilerights` VALUES ('173','2','calendar','0'); +INSERT INTO `glpi_profilerights` VALUES ('174','2','sla','0'); +INSERT INTO `glpi_profilerights` VALUES ('175','2','rule_dictionnary_printer','0'); +INSERT INTO `glpi_profilerights` VALUES ('179','2','problem','1057'); +INSERT INTO `glpi_profilerights` VALUES ('701','1','netpoint','0'); +INSERT INTO `glpi_profilerights` VALUES ('696','3','knowbasecategory','31'); +INSERT INTO `glpi_profilerights` VALUES ('690','4','itilcategory','31'); +INSERT INTO `glpi_profilerights` VALUES ('183','2','tickettemplate','0'); +INSERT INTO `glpi_profilerights` VALUES ('184','2','ticketrecurrent','0'); +INSERT INTO `glpi_profilerights` VALUES ('185','2','ticketcost','1'); +INSERT INTO `glpi_profilerights` VALUES ('669','4','changevalidation','1044'); +INSERT INTO `glpi_profilerights` VALUES ('670','5','changevalidation','20'); +INSERT INTO `glpi_profilerights` VALUES ('188','2','ticketvalidation','15384'); +INSERT INTO `glpi_profilerights` VALUES ('189','3','computer','127'); +INSERT INTO `glpi_profilerights` VALUES ('190','3','monitor','127'); +INSERT INTO `glpi_profilerights` VALUES ('191','3','software','127'); +INSERT INTO `glpi_profilerights` VALUES ('192','3','networking','127'); +INSERT INTO `glpi_profilerights` VALUES ('193','3','internet','31'); +INSERT INTO `glpi_profilerights` VALUES ('194','3','printer','127'); +INSERT INTO `glpi_profilerights` VALUES ('195','3','peripheral','127'); +INSERT INTO `glpi_profilerights` VALUES ('196','3','cartridge','127'); +INSERT INTO `glpi_profilerights` VALUES ('197','3','consumable','127'); +INSERT INTO `glpi_profilerights` VALUES ('198','3','phone','127'); +INSERT INTO `glpi_profilerights` VALUES ('732','4','queuedmail','31'); +INSERT INTO `glpi_profilerights` VALUES ('200','3','contact_enterprise','127'); +INSERT INTO `glpi_profilerights` VALUES ('201','3','document','127'); +INSERT INTO `glpi_profilerights` VALUES ('202','3','contract','127'); +INSERT INTO `glpi_profilerights` VALUES ('203','3','infocom','31'); +INSERT INTO `glpi_profilerights` VALUES ('204','3','knowbase','6175'); +INSERT INTO `glpi_profilerights` VALUES ('208','3','reservation','1055'); +INSERT INTO `glpi_profilerights` VALUES ('209','3','reports','1'); +INSERT INTO `glpi_profilerights` VALUES ('210','3','dropdown','31'); +INSERT INTO `glpi_profilerights` VALUES ('212','3','device','31'); +INSERT INTO `glpi_profilerights` VALUES ('213','3','typedoc','31'); +INSERT INTO `glpi_profilerights` VALUES ('214','3','link','31'); +INSERT INTO `glpi_profilerights` VALUES ('215','3','config','0'); +INSERT INTO `glpi_profilerights` VALUES ('217','3','rule_ticket','0'); +INSERT INTO `glpi_profilerights` VALUES ('218','3','rule_import','0'); +INSERT INTO `glpi_profilerights` VALUES ('219','3','rule_ldap','0'); +INSERT INTO `glpi_profilerights` VALUES ('220','3','rule_softwarecategories','0'); +INSERT INTO `glpi_profilerights` VALUES ('221','3','search_config','3103'); +INSERT INTO `glpi_profilerights` VALUES ('682','3','location','31'); +INSERT INTO `glpi_profilerights` VALUES ('677','5','domain','0'); +INSERT INTO `glpi_profilerights` VALUES ('224','3','profile','1'); +INSERT INTO `glpi_profilerights` VALUES ('225','3','user','7199'); +INSERT INTO `glpi_profilerights` VALUES ('227','3','group','31'); +INSERT INTO `glpi_profilerights` VALUES ('228','3','entity','96'); +INSERT INTO `glpi_profilerights` VALUES ('229','3','transfer','0'); +INSERT INTO `glpi_profilerights` VALUES ('230','3','logs','0'); +INSERT INTO `glpi_profilerights` VALUES ('231','3','reminder_public','0'); +INSERT INTO `glpi_profilerights` VALUES ('232','3','rssfeed_public','0'); +INSERT INTO `glpi_profilerights` VALUES ('233','3','bookmark_public','0'); +INSERT INTO `glpi_profilerights` VALUES ('234','3','backup','1024'); +INSERT INTO `glpi_profilerights` VALUES ('235','3','ticket','128031'); +INSERT INTO `glpi_profilerights` VALUES ('239','3','followup','15383'); +INSERT INTO `glpi_profilerights` VALUES ('240','3','task','13329'); +INSERT INTO `glpi_profilerights` VALUES ('745','3','projecttask','1025'); +INSERT INTO `glpi_profilerights` VALUES ('746','4','projecttask','1025'); +INSERT INTO `glpi_profilerights` VALUES ('747','5','projecttask','0'); +INSERT INTO `glpi_profilerights` VALUES ('252','3','planning','3073'); +INSERT INTO `glpi_profilerights` VALUES ('714','7','taskcategory','31'); +INSERT INTO `glpi_profilerights` VALUES ('707','7','netpoint','31'); +INSERT INTO `glpi_profilerights` VALUES ('255','3','statistic','1'); +INSERT INTO `glpi_profilerights` VALUES ('256','3','password_update','1'); +INSERT INTO `glpi_profilerights` VALUES ('258','3','show_group_hardware','0'); +INSERT INTO `glpi_profilerights` VALUES ('259','3','rule_dictionnary_software','0'); +INSERT INTO `glpi_profilerights` VALUES ('260','3','rule_dictionnary_dropdown','0'); +INSERT INTO `glpi_profilerights` VALUES ('261','3','budget','127'); +INSERT INTO `glpi_profilerights` VALUES ('263','3','notification','0'); +INSERT INTO `glpi_profilerights` VALUES ('264','3','rule_mailcollector','0'); +INSERT INTO `glpi_profilerights` VALUES ('724','3','solutiontemplate','31'); +INSERT INTO `glpi_profilerights` VALUES ('725','4','solutiontemplate','31'); +INSERT INTO `glpi_profilerights` VALUES ('267','3','calendar','31'); +INSERT INTO `glpi_profilerights` VALUES ('268','3','sla','0'); +INSERT INTO `glpi_profilerights` VALUES ('269','3','rule_dictionnary_printer','0'); +INSERT INTO `glpi_profilerights` VALUES ('273','3','problem','1151'); +INSERT INTO `glpi_profilerights` VALUES ('695','2','knowbasecategory','0'); +INSERT INTO `glpi_profilerights` VALUES ('689','3','itilcategory','31'); +INSERT INTO `glpi_profilerights` VALUES ('277','3','tickettemplate','0'); +INSERT INTO `glpi_profilerights` VALUES ('278','3','ticketrecurrent','0'); +INSERT INTO `glpi_profilerights` VALUES ('279','3','ticketcost','31'); +INSERT INTO `glpi_profilerights` VALUES ('667','2','changevalidation','1044'); +INSERT INTO `glpi_profilerights` VALUES ('668','3','changevalidation','1044'); +INSERT INTO `glpi_profilerights` VALUES ('282','3','ticketvalidation','15384'); +INSERT INTO `glpi_profilerights` VALUES ('283','4','computer','127'); +INSERT INTO `glpi_profilerights` VALUES ('284','4','monitor','127'); +INSERT INTO `glpi_profilerights` VALUES ('285','4','software','127'); +INSERT INTO `glpi_profilerights` VALUES ('286','4','networking','127'); +INSERT INTO `glpi_profilerights` VALUES ('287','4','internet','31'); +INSERT INTO `glpi_profilerights` VALUES ('288','4','printer','127'); +INSERT INTO `glpi_profilerights` VALUES ('289','4','peripheral','127'); +INSERT INTO `glpi_profilerights` VALUES ('290','4','cartridge','127'); +INSERT INTO `glpi_profilerights` VALUES ('291','4','consumable','127'); +INSERT INTO `glpi_profilerights` VALUES ('292','4','phone','127'); +INSERT INTO `glpi_profilerights` VALUES ('294','4','contact_enterprise','127'); +INSERT INTO `glpi_profilerights` VALUES ('295','4','document','127'); +INSERT INTO `glpi_profilerights` VALUES ('296','4','contract','127'); +INSERT INTO `glpi_profilerights` VALUES ('297','4','infocom','31'); +INSERT INTO `glpi_profilerights` VALUES ('298','4','knowbase','7199'); +INSERT INTO `glpi_profilerights` VALUES ('302','4','reservation','1055'); +INSERT INTO `glpi_profilerights` VALUES ('303','4','reports','1'); +INSERT INTO `glpi_profilerights` VALUES ('304','4','dropdown','31'); +INSERT INTO `glpi_profilerights` VALUES ('306','4','device','31'); +INSERT INTO `glpi_profilerights` VALUES ('307','4','typedoc','31'); +INSERT INTO `glpi_profilerights` VALUES ('308','4','link','31'); +INSERT INTO `glpi_profilerights` VALUES ('309','4','config','31'); +INSERT INTO `glpi_profilerights` VALUES ('311','4','rule_ticket','1055'); +INSERT INTO `glpi_profilerights` VALUES ('312','4','rule_import','31'); +INSERT INTO `glpi_profilerights` VALUES ('313','4','rule_ldap','31'); +INSERT INTO `glpi_profilerights` VALUES ('314','4','rule_softwarecategories','31'); +INSERT INTO `glpi_profilerights` VALUES ('315','4','search_config','3103'); +INSERT INTO `glpi_profilerights` VALUES ('681','2','location','0'); +INSERT INTO `glpi_profilerights` VALUES ('676','4','domain','31'); +INSERT INTO `glpi_profilerights` VALUES ('318','4','profile','31'); +INSERT INTO `glpi_profilerights` VALUES ('319','4','user','7199'); +INSERT INTO `glpi_profilerights` VALUES ('321','4','group','31'); +INSERT INTO `glpi_profilerights` VALUES ('322','4','entity','3199'); +INSERT INTO `glpi_profilerights` VALUES ('323','4','transfer','31'); +INSERT INTO `glpi_profilerights` VALUES ('324','4','logs','1'); +INSERT INTO `glpi_profilerights` VALUES ('325','4','reminder_public','31'); +INSERT INTO `glpi_profilerights` VALUES ('326','4','rssfeed_public','31'); +INSERT INTO `glpi_profilerights` VALUES ('327','4','bookmark_public','31'); +INSERT INTO `glpi_profilerights` VALUES ('328','4','backup','1055'); +INSERT INTO `glpi_profilerights` VALUES ('329','4','ticket','128031'); +INSERT INTO `glpi_profilerights` VALUES ('333','4','followup','15383'); +INSERT INTO `glpi_profilerights` VALUES ('334','4','task','13329'); +INSERT INTO `glpi_profilerights` VALUES ('742','7','project','1151'); +INSERT INTO `glpi_profilerights` VALUES ('743','1','projecttask','0'); +INSERT INTO `glpi_profilerights` VALUES ('744','2','projecttask','1025'); +INSERT INTO `glpi_profilerights` VALUES ('346','4','planning','3073'); +INSERT INTO `glpi_profilerights` VALUES ('713','6','taskcategory','0'); +INSERT INTO `glpi_profilerights` VALUES ('706','6','netpoint','0'); +INSERT INTO `glpi_profilerights` VALUES ('349','4','statistic','1'); +INSERT INTO `glpi_profilerights` VALUES ('350','4','password_update','1'); +INSERT INTO `glpi_profilerights` VALUES ('352','4','show_group_hardware','0'); +INSERT INTO `glpi_profilerights` VALUES ('353','4','rule_dictionnary_software','31'); +INSERT INTO `glpi_profilerights` VALUES ('354','4','rule_dictionnary_dropdown','31'); +INSERT INTO `glpi_profilerights` VALUES ('355','4','budget','127'); +INSERT INTO `glpi_profilerights` VALUES ('357','4','notification','31'); +INSERT INTO `glpi_profilerights` VALUES ('358','4','rule_mailcollector','31'); +INSERT INTO `glpi_profilerights` VALUES ('722','1','solutiontemplate','0'); +INSERT INTO `glpi_profilerights` VALUES ('723','2','solutiontemplate','0'); +INSERT INTO `glpi_profilerights` VALUES ('361','4','calendar','31'); +INSERT INTO `glpi_profilerights` VALUES ('362','4','sla','31'); +INSERT INTO `glpi_profilerights` VALUES ('363','4','rule_dictionnary_printer','31'); +INSERT INTO `glpi_profilerights` VALUES ('367','4','problem','1151'); +INSERT INTO `glpi_profilerights` VALUES ('694','1','knowbasecategory','0'); +INSERT INTO `glpi_profilerights` VALUES ('688','2','itilcategory','0'); +INSERT INTO `glpi_profilerights` VALUES ('371','4','tickettemplate','31'); +INSERT INTO `glpi_profilerights` VALUES ('372','4','ticketrecurrent','31'); +INSERT INTO `glpi_profilerights` VALUES ('373','4','ticketcost','31'); +INSERT INTO `glpi_profilerights` VALUES ('665','7','change','1151'); +INSERT INTO `glpi_profilerights` VALUES ('666','1','changevalidation','0'); +INSERT INTO `glpi_profilerights` VALUES ('376','4','ticketvalidation','15384'); +INSERT INTO `glpi_profilerights` VALUES ('377','5','computer','0'); +INSERT INTO `glpi_profilerights` VALUES ('378','5','monitor','0'); +INSERT INTO `glpi_profilerights` VALUES ('379','5','software','0'); +INSERT INTO `glpi_profilerights` VALUES ('380','5','networking','0'); +INSERT INTO `glpi_profilerights` VALUES ('381','5','internet','0'); +INSERT INTO `glpi_profilerights` VALUES ('382','5','printer','0'); +INSERT INTO `glpi_profilerights` VALUES ('383','5','peripheral','0'); +INSERT INTO `glpi_profilerights` VALUES ('384','5','cartridge','0'); +INSERT INTO `glpi_profilerights` VALUES ('385','5','consumable','0'); +INSERT INTO `glpi_profilerights` VALUES ('386','5','phone','0'); +INSERT INTO `glpi_profilerights` VALUES ('731','3','queuedmail','0'); +INSERT INTO `glpi_profilerights` VALUES ('388','5','contact_enterprise','0'); +INSERT INTO `glpi_profilerights` VALUES ('389','5','document','0'); +INSERT INTO `glpi_profilerights` VALUES ('390','5','contract','0'); +INSERT INTO `glpi_profilerights` VALUES ('391','5','infocom','0'); +INSERT INTO `glpi_profilerights` VALUES ('392','5','knowbase','0'); +INSERT INTO `glpi_profilerights` VALUES ('396','5','reservation','0'); +INSERT INTO `glpi_profilerights` VALUES ('397','5','reports','0'); +INSERT INTO `glpi_profilerights` VALUES ('398','5','dropdown','0'); +INSERT INTO `glpi_profilerights` VALUES ('400','5','device','0'); +INSERT INTO `glpi_profilerights` VALUES ('401','5','typedoc','0'); +INSERT INTO `glpi_profilerights` VALUES ('402','5','link','0'); +INSERT INTO `glpi_profilerights` VALUES ('403','5','config','0'); +INSERT INTO `glpi_profilerights` VALUES ('405','5','rule_ticket','0'); +INSERT INTO `glpi_profilerights` VALUES ('406','5','rule_import','0'); +INSERT INTO `glpi_profilerights` VALUES ('407','5','rule_ldap','0'); +INSERT INTO `glpi_profilerights` VALUES ('408','5','rule_softwarecategories','0'); +INSERT INTO `glpi_profilerights` VALUES ('409','5','search_config','0'); +INSERT INTO `glpi_profilerights` VALUES ('680','1','location','0'); +INSERT INTO `glpi_profilerights` VALUES ('675','3','domain','31'); +INSERT INTO `glpi_profilerights` VALUES ('412','5','profile','0'); +INSERT INTO `glpi_profilerights` VALUES ('413','5','user','1025'); +INSERT INTO `glpi_profilerights` VALUES ('415','5','group','0'); +INSERT INTO `glpi_profilerights` VALUES ('416','5','entity','0'); +INSERT INTO `glpi_profilerights` VALUES ('417','5','transfer','0'); +INSERT INTO `glpi_profilerights` VALUES ('418','5','logs','0'); +INSERT INTO `glpi_profilerights` VALUES ('419','5','reminder_public','0'); +INSERT INTO `glpi_profilerights` VALUES ('420','5','rssfeed_public','0'); +INSERT INTO `glpi_profilerights` VALUES ('421','5','bookmark_public','0'); +INSERT INTO `glpi_profilerights` VALUES ('422','5','backup','0'); +INSERT INTO `glpi_profilerights` VALUES ('423','5','ticket','9223'); +INSERT INTO `glpi_profilerights` VALUES ('427','5','followup','12295'); +INSERT INTO `glpi_profilerights` VALUES ('428','5','task','8193'); +INSERT INTO `glpi_profilerights` VALUES ('739','4','project','1151'); +INSERT INTO `glpi_profilerights` VALUES ('740','5','project','1150'); +INSERT INTO `glpi_profilerights` VALUES ('741','6','project','1151'); +INSERT INTO `glpi_profilerights` VALUES ('440','5','planning','1'); +INSERT INTO `glpi_profilerights` VALUES ('712','5','taskcategory','0'); +INSERT INTO `glpi_profilerights` VALUES ('705','5','netpoint','0'); +INSERT INTO `glpi_profilerights` VALUES ('443','5','statistic','1'); +INSERT INTO `glpi_profilerights` VALUES ('444','5','password_update','1'); +INSERT INTO `glpi_profilerights` VALUES ('446','5','show_group_hardware','0'); +INSERT INTO `glpi_profilerights` VALUES ('447','5','rule_dictionnary_software','0'); +INSERT INTO `glpi_profilerights` VALUES ('448','5','rule_dictionnary_dropdown','0'); +INSERT INTO `glpi_profilerights` VALUES ('449','5','budget','0'); +INSERT INTO `glpi_profilerights` VALUES ('451','5','notification','0'); +INSERT INTO `glpi_profilerights` VALUES ('452','5','rule_mailcollector','0'); +INSERT INTO `glpi_profilerights` VALUES ('720','6','state','0'); +INSERT INTO `glpi_profilerights` VALUES ('721','7','state','31'); +INSERT INTO `glpi_profilerights` VALUES ('455','5','calendar','0'); +INSERT INTO `glpi_profilerights` VALUES ('456','5','sla','0'); +INSERT INTO `glpi_profilerights` VALUES ('457','5','rule_dictionnary_printer','0'); +INSERT INTO `glpi_profilerights` VALUES ('461','5','problem','1024'); +INSERT INTO `glpi_profilerights` VALUES ('700','7','knowbasecategory','31'); +INSERT INTO `glpi_profilerights` VALUES ('687','1','itilcategory','0'); +INSERT INTO `glpi_profilerights` VALUES ('465','5','tickettemplate','1'); +INSERT INTO `glpi_profilerights` VALUES ('466','5','ticketrecurrent','0'); +INSERT INTO `glpi_profilerights` VALUES ('467','5','ticketcost','31'); +INSERT INTO `glpi_profilerights` VALUES ('663','5','change','1054'); +INSERT INTO `glpi_profilerights` VALUES ('664','6','change','1151'); +INSERT INTO `glpi_profilerights` VALUES ('470','5','ticketvalidation','3088'); +INSERT INTO `glpi_profilerights` VALUES ('471','6','computer','127'); +INSERT INTO `glpi_profilerights` VALUES ('472','6','monitor','127'); +INSERT INTO `glpi_profilerights` VALUES ('473','6','software','127'); +INSERT INTO `glpi_profilerights` VALUES ('474','6','networking','127'); +INSERT INTO `glpi_profilerights` VALUES ('475','6','internet','31'); +INSERT INTO `glpi_profilerights` VALUES ('476','6','printer','127'); +INSERT INTO `glpi_profilerights` VALUES ('477','6','peripheral','127'); +INSERT INTO `glpi_profilerights` VALUES ('478','6','cartridge','127'); +INSERT INTO `glpi_profilerights` VALUES ('479','6','consumable','127'); +INSERT INTO `glpi_profilerights` VALUES ('480','6','phone','127'); +INSERT INTO `glpi_profilerights` VALUES ('730','2','queuedmail','0'); +INSERT INTO `glpi_profilerights` VALUES ('482','6','contact_enterprise','96'); +INSERT INTO `glpi_profilerights` VALUES ('483','6','document','127'); +INSERT INTO `glpi_profilerights` VALUES ('484','6','contract','96'); +INSERT INTO `glpi_profilerights` VALUES ('485','6','infocom','0'); +INSERT INTO `glpi_profilerights` VALUES ('486','6','knowbase','6175'); +INSERT INTO `glpi_profilerights` VALUES ('490','6','reservation','1055'); +INSERT INTO `glpi_profilerights` VALUES ('491','6','reports','1'); +INSERT INTO `glpi_profilerights` VALUES ('492','6','dropdown','0'); +INSERT INTO `glpi_profilerights` VALUES ('494','6','device','0'); +INSERT INTO `glpi_profilerights` VALUES ('495','6','typedoc','0'); +INSERT INTO `glpi_profilerights` VALUES ('496','6','link','0'); +INSERT INTO `glpi_profilerights` VALUES ('497','6','config','0'); +INSERT INTO `glpi_profilerights` VALUES ('499','6','rule_ticket','0'); +INSERT INTO `glpi_profilerights` VALUES ('500','6','rule_import','0'); +INSERT INTO `glpi_profilerights` VALUES ('501','6','rule_ldap','0'); +INSERT INTO `glpi_profilerights` VALUES ('502','6','rule_softwarecategories','0'); +INSERT INTO `glpi_profilerights` VALUES ('503','6','search_config','0'); +INSERT INTO `glpi_profilerights` VALUES ('674','2','domain','0'); +INSERT INTO `glpi_profilerights` VALUES ('506','6','profile','0'); +INSERT INTO `glpi_profilerights` VALUES ('507','6','user','1055'); +INSERT INTO `glpi_profilerights` VALUES ('509','6','group','1'); +INSERT INTO `glpi_profilerights` VALUES ('510','6','entity','97'); +INSERT INTO `glpi_profilerights` VALUES ('511','6','transfer','1'); +INSERT INTO `glpi_profilerights` VALUES ('512','6','logs','0'); +INSERT INTO `glpi_profilerights` VALUES ('513','6','reminder_public','31'); +INSERT INTO `glpi_profilerights` VALUES ('514','6','rssfeed_public','31'); +INSERT INTO `glpi_profilerights` VALUES ('515','6','bookmark_public','0'); +INSERT INTO `glpi_profilerights` VALUES ('516','6','backup','0'); +INSERT INTO `glpi_profilerights` VALUES ('517','6','ticket','37895'); +INSERT INTO `glpi_profilerights` VALUES ('521','6','followup','13319'); +INSERT INTO `glpi_profilerights` VALUES ('522','6','task','13329'); +INSERT INTO `glpi_profilerights` VALUES ('736','1','project','0'); +INSERT INTO `glpi_profilerights` VALUES ('737','2','project','1025'); +INSERT INTO `glpi_profilerights` VALUES ('738','3','project','1151'); +INSERT INTO `glpi_profilerights` VALUES ('534','6','planning','1'); +INSERT INTO `glpi_profilerights` VALUES ('711','4','taskcategory','31'); +INSERT INTO `glpi_profilerights` VALUES ('704','4','netpoint','31'); +INSERT INTO `glpi_profilerights` VALUES ('537','6','statistic','1'); +INSERT INTO `glpi_profilerights` VALUES ('538','6','password_update','1'); +INSERT INTO `glpi_profilerights` VALUES ('540','6','show_group_hardware','0'); +INSERT INTO `glpi_profilerights` VALUES ('541','6','rule_dictionnary_software','0'); +INSERT INTO `glpi_profilerights` VALUES ('542','6','rule_dictionnary_dropdown','0'); +INSERT INTO `glpi_profilerights` VALUES ('543','6','budget','96'); +INSERT INTO `glpi_profilerights` VALUES ('545','6','notification','0'); +INSERT INTO `glpi_profilerights` VALUES ('546','6','rule_mailcollector','0'); +INSERT INTO `glpi_profilerights` VALUES ('718','4','state','31'); +INSERT INTO `glpi_profilerights` VALUES ('719','5','state','0'); +INSERT INTO `glpi_profilerights` VALUES ('549','6','calendar','0'); +INSERT INTO `glpi_profilerights` VALUES ('550','6','sla','1'); +INSERT INTO `glpi_profilerights` VALUES ('551','6','rule_dictionnary_printer','0'); +INSERT INTO `glpi_profilerights` VALUES ('555','6','problem','1121'); +INSERT INTO `glpi_profilerights` VALUES ('699','6','knowbasecategory','0'); +INSERT INTO `glpi_profilerights` VALUES ('693','7','itilcategory','31'); +INSERT INTO `glpi_profilerights` VALUES ('686','7','location','31'); +INSERT INTO `glpi_profilerights` VALUES ('559','6','tickettemplate','1'); +INSERT INTO `glpi_profilerights` VALUES ('560','6','ticketrecurrent','1'); +INSERT INTO `glpi_profilerights` VALUES ('561','6','ticketcost','31'); +INSERT INTO `glpi_profilerights` VALUES ('661','3','change','1151'); +INSERT INTO `glpi_profilerights` VALUES ('662','4','change','1151'); +INSERT INTO `glpi_profilerights` VALUES ('564','6','ticketvalidation','3088'); +INSERT INTO `glpi_profilerights` VALUES ('565','7','computer','127'); +INSERT INTO `glpi_profilerights` VALUES ('566','7','monitor','127'); +INSERT INTO `glpi_profilerights` VALUES ('567','7','software','127'); +INSERT INTO `glpi_profilerights` VALUES ('568','7','networking','127'); +INSERT INTO `glpi_profilerights` VALUES ('569','7','internet','31'); +INSERT INTO `glpi_profilerights` VALUES ('570','7','printer','127'); +INSERT INTO `glpi_profilerights` VALUES ('571','7','peripheral','127'); +INSERT INTO `glpi_profilerights` VALUES ('572','7','cartridge','127'); +INSERT INTO `glpi_profilerights` VALUES ('573','7','consumable','127'); +INSERT INTO `glpi_profilerights` VALUES ('574','7','phone','127'); +INSERT INTO `glpi_profilerights` VALUES ('729','1','queuedmail','0'); +INSERT INTO `glpi_profilerights` VALUES ('576','7','contact_enterprise','96'); +INSERT INTO `glpi_profilerights` VALUES ('577','7','document','127'); +INSERT INTO `glpi_profilerights` VALUES ('578','7','contract','96'); +INSERT INTO `glpi_profilerights` VALUES ('579','7','infocom','0'); +INSERT INTO `glpi_profilerights` VALUES ('580','7','knowbase','6175'); +INSERT INTO `glpi_profilerights` VALUES ('584','7','reservation','1055'); +INSERT INTO `glpi_profilerights` VALUES ('585','7','reports','1'); +INSERT INTO `glpi_profilerights` VALUES ('586','7','dropdown','0'); +INSERT INTO `glpi_profilerights` VALUES ('588','7','device','0'); +INSERT INTO `glpi_profilerights` VALUES ('589','7','typedoc','0'); +INSERT INTO `glpi_profilerights` VALUES ('590','7','link','0'); +INSERT INTO `glpi_profilerights` VALUES ('591','7','config','0'); +INSERT INTO `glpi_profilerights` VALUES ('593','7','rule_ticket','1055'); +INSERT INTO `glpi_profilerights` VALUES ('594','7','rule_import','0'); +INSERT INTO `glpi_profilerights` VALUES ('595','7','rule_ldap','0'); +INSERT INTO `glpi_profilerights` VALUES ('596','7','rule_softwarecategories','0'); +INSERT INTO `glpi_profilerights` VALUES ('597','7','search_config','0'); +INSERT INTO `glpi_profilerights` VALUES ('673','1','domain','0'); +INSERT INTO `glpi_profilerights` VALUES ('600','7','profile','0'); +INSERT INTO `glpi_profilerights` VALUES ('601','7','user','1055'); +INSERT INTO `glpi_profilerights` VALUES ('603','7','group','1'); +INSERT INTO `glpi_profilerights` VALUES ('604','7','entity','97'); +INSERT INTO `glpi_profilerights` VALUES ('605','7','transfer','1'); +INSERT INTO `glpi_profilerights` VALUES ('606','7','logs','1'); +INSERT INTO `glpi_profilerights` VALUES ('607','7','reminder_public','31'); +INSERT INTO `glpi_profilerights` VALUES ('608','7','rssfeed_public','31'); +INSERT INTO `glpi_profilerights` VALUES ('609','7','bookmark_public','0'); +INSERT INTO `glpi_profilerights` VALUES ('610','7','backup','0'); +INSERT INTO `glpi_profilerights` VALUES ('611','7','ticket','128031'); +INSERT INTO `glpi_profilerights` VALUES ('615','7','followup','13335'); +INSERT INTO `glpi_profilerights` VALUES ('616','7','task','13329'); +INSERT INTO `glpi_profilerights` VALUES ('735','7','queuedmail','0'); +INSERT INTO `glpi_profilerights` VALUES ('628','7','planning','2049'); +INSERT INTO `glpi_profilerights` VALUES ('710','3','taskcategory','31'); +INSERT INTO `glpi_profilerights` VALUES ('703','3','netpoint','31'); +INSERT INTO `glpi_profilerights` VALUES ('631','7','statistic','1'); +INSERT INTO `glpi_profilerights` VALUES ('632','7','password_update','1'); +INSERT INTO `glpi_profilerights` VALUES ('634','7','show_group_hardware','0'); +INSERT INTO `glpi_profilerights` VALUES ('635','7','rule_dictionnary_software','0'); +INSERT INTO `glpi_profilerights` VALUES ('636','7','rule_dictionnary_dropdown','0'); +INSERT INTO `glpi_profilerights` VALUES ('637','7','budget','96'); +INSERT INTO `glpi_profilerights` VALUES ('639','7','notification','0'); +INSERT INTO `glpi_profilerights` VALUES ('640','7','rule_mailcollector','31'); +INSERT INTO `glpi_profilerights` VALUES ('672','7','changevalidation','1044'); +INSERT INTO `glpi_profilerights` VALUES ('717','3','state','31'); +INSERT INTO `glpi_profilerights` VALUES ('643','7','calendar','31'); +INSERT INTO `glpi_profilerights` VALUES ('644','7','sla','31'); +INSERT INTO `glpi_profilerights` VALUES ('645','7','rule_dictionnary_printer','0'); +INSERT INTO `glpi_profilerights` VALUES ('649','7','problem','1151'); +INSERT INTO `glpi_profilerights` VALUES ('698','5','knowbasecategory','0'); +INSERT INTO `glpi_profilerights` VALUES ('692','6','itilcategory','0'); +INSERT INTO `glpi_profilerights` VALUES ('685','6','location','0'); +INSERT INTO `glpi_profilerights` VALUES ('653','7','tickettemplate','31'); +INSERT INTO `glpi_profilerights` VALUES ('654','7','ticketrecurrent','31'); +INSERT INTO `glpi_profilerights` VALUES ('655','7','ticketcost','31'); +INSERT INTO `glpi_profilerights` VALUES ('659','1','change','0'); +INSERT INTO `glpi_profilerights` VALUES ('660','2','change','1057'); +INSERT INTO `glpi_profilerights` VALUES ('658','7','ticketvalidation','15384'); + +### Dump table glpi_profiles + +DROP TABLE IF EXISTS `glpi_profiles`; +CREATE TABLE `glpi_profiles` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `interface` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'helpdesk', + `is_default` tinyint(1) NOT NULL DEFAULT '0', + `helpdesk_hardware` int(11) NOT NULL DEFAULT '0', + `helpdesk_item_type` text COLLATE utf8_unicode_ci, + `ticket_status` text COLLATE utf8_unicode_ci COMMENT 'json encoded array of from/dest allowed status change', + `date_mod` datetime DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `problem_status` text COLLATE utf8_unicode_ci COMMENT 'json encoded array of from/dest allowed status change', + `create_ticket_on_login` tinyint(1) NOT NULL DEFAULT '0', + `tickettemplates_id` int(11) NOT NULL DEFAULT '0', + `change_status` text COLLATE utf8_unicode_ci COMMENT 'json encoded array of from/dest allowed status change', + PRIMARY KEY (`id`), + KEY `interface` (`interface`), + KEY `is_default` (`is_default`), + KEY `date_mod` (`date_mod`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_profiles` VALUES ('1','Self-Service','helpdesk','1','1','[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','{\"1\":{\"2\":0,\"3\":0,\"4\":0,\"5\":0,\"6\":0},\"2\":{\"1\":0,\"3\":0,\"4\":0,\"5\":0,\"6\":0},\"3\":{\"1\":0,\"2\":0,\"4\":0,\"5\":0,\"6\":0},\"4\":{\"1\":0,\"2\":0,\"3\":0,\"5\":0,\"6\":0},\"5\":{\"1\":0,\"2\":0,\"3\":0,\"4\":0},\"6\":{\"1\":0,\"2\":0,\"3\":0,\"4\":0,\"5\":0}}',NULL,NULL,'[]','0','0',NULL); +INSERT INTO `glpi_profiles` VALUES ('2','Observer','central','0','1','[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','[]',NULL,NULL,'[]','0','0',NULL); +INSERT INTO `glpi_profiles` VALUES ('3','Admin','central','0','3','[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','[]',NULL,NULL,'[]','0','0',NULL); +INSERT INTO `glpi_profiles` VALUES ('4','Super-Admin','central','0','3','[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','[]',NULL,NULL,'[]','0','0',NULL); +INSERT INTO `glpi_profiles` VALUES ('5','Hotliner','central','0','3','[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','[]',NULL,NULL,'[]','1','0',NULL); +INSERT INTO `glpi_profiles` VALUES ('6','Technician','central','0','3','[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','[]',NULL,NULL,'[]','0','0',NULL); +INSERT INTO `glpi_profiles` VALUES ('7','Supervisor','central','0','3','[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','[]',NULL,NULL,'[]','0','0',NULL); + +### Dump table glpi_profiles_reminders + +DROP TABLE IF EXISTS `glpi_profiles_reminders`; +CREATE TABLE `glpi_profiles_reminders` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `reminders_id` int(11) NOT NULL DEFAULT '0', + `profiles_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `reminders_id` (`reminders_id`), + KEY `profiles_id` (`profiles_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_profiles_rssfeeds + +DROP TABLE IF EXISTS `glpi_profiles_rssfeeds`; +CREATE TABLE `glpi_profiles_rssfeeds` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `rssfeeds_id` int(11) NOT NULL DEFAULT '0', + `profiles_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `rssfeeds_id` (`rssfeeds_id`), + KEY `profiles_id` (`profiles_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_profiles_users + +DROP TABLE IF EXISTS `glpi_profiles_users`; +CREATE TABLE `glpi_profiles_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `users_id` int(11) NOT NULL DEFAULT '0', + `profiles_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '1', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `profiles_id` (`profiles_id`), + KEY `users_id` (`users_id`), + KEY `is_recursive` (`is_recursive`), + KEY `is_dynamic` (`is_dynamic`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_profiles_users` VALUES ('2','2','4','0','1','0'); +INSERT INTO `glpi_profiles_users` VALUES ('3','3','1','0','1','0'); +INSERT INTO `glpi_profiles_users` VALUES ('4','4','6','0','1','0'); +INSERT INTO `glpi_profiles_users` VALUES ('5','5','2','0','1','0'); + +### Dump table glpi_projectcosts + +DROP TABLE IF EXISTS `glpi_projectcosts`; +CREATE TABLE `glpi_projectcosts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `projects_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `begin_date` date DEFAULT NULL, + `end_date` date DEFAULT NULL, + `cost` decimal(20,4) NOT NULL DEFAULT '0.0000', + `budgets_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `projects_id` (`projects_id`), + KEY `begin_date` (`begin_date`), + KEY `end_date` (`end_date`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `budgets_id` (`budgets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_projects + +DROP TABLE IF EXISTS `glpi_projects`; +CREATE TABLE `glpi_projects` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority` int(11) NOT NULL DEFAULT '1', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `projects_id` int(11) NOT NULL DEFAULT '0', + `projectstates_id` int(11) NOT NULL DEFAULT '0', + `projecttypes_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `plan_start_date` datetime DEFAULT NULL, + `plan_end_date` datetime DEFAULT NULL, + `real_start_date` datetime DEFAULT NULL, + `real_end_date` datetime DEFAULT NULL, + `percent_done` int(11) NOT NULL DEFAULT '0', + `show_on_global_gantt` tinyint(1) NOT NULL DEFAULT '0', + `content` longtext COLLATE utf8_unicode_ci, + `comment` longtext COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `code` (`code`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `projects_id` (`projects_id`), + KEY `projectstates_id` (`projectstates_id`), + KEY `projecttypes_id` (`projecttypes_id`), + KEY `priority` (`priority`), + KEY `date` (`date`), + KEY `date_mod` (`date_mod`), + KEY `users_id` (`users_id`), + KEY `groups_id` (`groups_id`), + KEY `plan_start_date` (`plan_start_date`), + KEY `plan_end_date` (`plan_end_date`), + KEY `real_start_date` (`real_start_date`), + KEY `real_end_date` (`real_end_date`), + KEY `percent_done` (`percent_done`), + KEY `show_on_global_gantt` (`show_on_global_gantt`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_projectstates + +DROP TABLE IF EXISTS `glpi_projectstates`; +CREATE TABLE `glpi_projectstates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_finished` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_finished` (`is_finished`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_projectstates` VALUES ('1','Nouveau',NULL,'#06ff00','0'); +INSERT INTO `glpi_projectstates` VALUES ('2','En cours',NULL,'#ffb800','0'); +INSERT INTO `glpi_projectstates` VALUES ('3','Clos',NULL,'#ff0000','1'); + +### Dump table glpi_projecttasks + +DROP TABLE IF EXISTS `glpi_projecttasks`; +CREATE TABLE `glpi_projecttasks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `content` longtext COLLATE utf8_unicode_ci, + `comment` longtext COLLATE utf8_unicode_ci, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `projects_id` int(11) NOT NULL DEFAULT '0', + `projecttasks_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `plan_start_date` datetime DEFAULT NULL, + `plan_end_date` datetime DEFAULT NULL, + `real_start_date` datetime DEFAULT NULL, + `real_end_date` datetime DEFAULT NULL, + `planned_duration` int(11) NOT NULL DEFAULT '0', + `effective_duration` int(11) NOT NULL DEFAULT '0', + `projectstates_id` int(11) NOT NULL DEFAULT '0', + `projecttasktypes_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `percent_done` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `projects_id` (`projects_id`), + KEY `projecttasks_id` (`projecttasks_id`), + KEY `date` (`date`), + KEY `date_mod` (`date_mod`), + KEY `users_id` (`users_id`), + KEY `plan_start_date` (`plan_start_date`), + KEY `plan_end_date` (`plan_end_date`), + KEY `real_start_date` (`real_start_date`), + KEY `real_end_date` (`real_end_date`), + KEY `percent_done` (`percent_done`), + KEY `projectstates_id` (`projectstates_id`), + KEY `projecttasktypes_id` (`projecttasktypes_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_projecttasks_tickets + +DROP TABLE IF EXISTS `glpi_projecttasks_tickets`; +CREATE TABLE `glpi_projecttasks_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `projecttasks_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`tickets_id`,`projecttasks_id`), + KEY `projects_id` (`projecttasks_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_projecttaskteams + +DROP TABLE IF EXISTS `glpi_projecttaskteams`; +CREATE TABLE `glpi_projecttaskteams` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `projecttasks_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`projecttasks_id`,`itemtype`,`items_id`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_projecttasktypes + +DROP TABLE IF EXISTS `glpi_projecttasktypes`; +CREATE TABLE `glpi_projecttasktypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_projectteams + +DROP TABLE IF EXISTS `glpi_projectteams`; +CREATE TABLE `glpi_projectteams` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `projects_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`projects_id`,`itemtype`,`items_id`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_projecttypes + +DROP TABLE IF EXISTS `glpi_projecttypes`; +CREATE TABLE `glpi_projecttypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_queuedmails + +DROP TABLE IF EXISTS `glpi_queuedmails`; +CREATE TABLE `glpi_queuedmails` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + `notificationtemplates_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `sent_try` int(11) NOT NULL DEFAULT '0', + `create_time` datetime DEFAULT NULL, + `send_time` datetime DEFAULT NULL, + `sent_time` datetime DEFAULT NULL, + `name` text COLLATE utf8_unicode_ci, + `sender` text COLLATE utf8_unicode_ci, + `sendername` text COLLATE utf8_unicode_ci, + `recipient` text COLLATE utf8_unicode_ci, + `recipientname` text COLLATE utf8_unicode_ci, + `replyto` text COLLATE utf8_unicode_ci, + `replytoname` text COLLATE utf8_unicode_ci, + `headers` text COLLATE utf8_unicode_ci, + `body_html` longtext COLLATE utf8_unicode_ci, + `body_text` longtext COLLATE utf8_unicode_ci, + `messageid` text COLLATE utf8_unicode_ci, + `documents` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `item` (`itemtype`,`items_id`,`notificationtemplates_id`), + KEY `is_deleted` (`is_deleted`), + KEY `entities_id` (`entities_id`), + KEY `sent_try` (`sent_try`), + KEY `create_time` (`create_time`), + KEY `send_time` (`send_time`), + KEY `sent_time` (`sent_time`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_registeredids + +DROP TABLE IF EXISTS `glpi_registeredids`; +CREATE TABLE `glpi_registeredids` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `device_type` varchar(100) COLLATE utf8_unicode_ci NOT NULL COMMENT 'USB, PCI ...', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `item` (`items_id`,`itemtype`), + KEY `device_type` (`device_type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_reminders + +DROP TABLE IF EXISTS `glpi_reminders`; +CREATE TABLE `glpi_reminders` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `date` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `text` text COLLATE utf8_unicode_ci, + `begin` datetime DEFAULT NULL, + `end` datetime DEFAULT NULL, + `is_planned` tinyint(1) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `state` int(11) NOT NULL DEFAULT '0', + `begin_view_date` datetime DEFAULT NULL, + `end_view_date` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date` (`date`), + KEY `begin` (`begin`), + KEY `end` (`end`), + KEY `users_id` (`users_id`), + KEY `is_planned` (`is_planned`), + KEY `state` (`state`), + KEY `date_mod` (`date_mod`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_reminders_users + +DROP TABLE IF EXISTS `glpi_reminders_users`; +CREATE TABLE `glpi_reminders_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `reminders_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `reminders_id` (`reminders_id`), + KEY `users_id` (`users_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_requesttypes + +DROP TABLE IF EXISTS `glpi_requesttypes`; +CREATE TABLE `glpi_requesttypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_helpdesk_default` tinyint(1) NOT NULL DEFAULT '0', + `is_mail_default` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_helpdesk_default` (`is_helpdesk_default`), + KEY `is_mail_default` (`is_mail_default`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_requesttypes` VALUES ('1','Helpdesk','1','0',NULL); +INSERT INTO `glpi_requesttypes` VALUES ('2','E-Mail','0','1',NULL); +INSERT INTO `glpi_requesttypes` VALUES ('3','Phone','0','0',NULL); +INSERT INTO `glpi_requesttypes` VALUES ('4','Direct','0','0',NULL); +INSERT INTO `glpi_requesttypes` VALUES ('5','Written','0','0',NULL); +INSERT INTO `glpi_requesttypes` VALUES ('6','Other','0','0',NULL); + +### Dump table glpi_reservationitems + +DROP TABLE IF EXISTS `glpi_reservationitems`; +CREATE TABLE `glpi_reservationitems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `items_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `is_active` tinyint(1) NOT NULL DEFAULT '1', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `is_active` (`is_active`), + KEY `item` (`itemtype`,`items_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `is_deleted` (`is_deleted`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_reservations + +DROP TABLE IF EXISTS `glpi_reservations`; +CREATE TABLE `glpi_reservations` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `reservationitems_id` int(11) NOT NULL DEFAULT '0', + `begin` datetime DEFAULT NULL, + `end` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `group` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `begin` (`begin`), + KEY `end` (`end`), + KEY `reservationitems_id` (`reservationitems_id`), + KEY `users_id` (`users_id`), + KEY `resagroup` (`reservationitems_id`,`group`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_rssfeeds + +DROP TABLE IF EXISTS `glpi_rssfeeds`; +CREATE TABLE `glpi_rssfeeds` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `url` text COLLATE utf8_unicode_ci, + `refresh_rate` int(11) NOT NULL DEFAULT '86400', + `max_items` int(11) NOT NULL DEFAULT '20', + `have_error` tinyint(1) NOT NULL DEFAULT '0', + `is_active` tinyint(1) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `users_id` (`users_id`), + KEY `date_mod` (`date_mod`), + KEY `have_error` (`have_error`), + KEY `is_active` (`is_active`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_rssfeeds_users + +DROP TABLE IF EXISTS `glpi_rssfeeds_users`; +CREATE TABLE `glpi_rssfeeds_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `rssfeeds_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `rssfeeds_id` (`rssfeeds_id`), + KEY `users_id` (`users_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_ruleactions + +DROP TABLE IF EXISTS `glpi_ruleactions`; +CREATE TABLE `glpi_ruleactions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `rules_id` int(11) NOT NULL DEFAULT '0', + `action_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'VALUE IN (assign, regex_result, append_regex_result, affectbyip, affectbyfqdn, affectbymac)', + `field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `rules_id` (`rules_id`), + KEY `field_value` (`field`(50),`value`(50)) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_ruleactions` VALUES ('6','6','fromitem','locations_id','1'); +INSERT INTO `glpi_ruleactions` VALUES ('2','2','assign','entities_id','0'); +INSERT INTO `glpi_ruleactions` VALUES ('3','3','assign','entities_id','0'); +INSERT INTO `glpi_ruleactions` VALUES ('4','4','assign','_refuse_email_no_response','1'); +INSERT INTO `glpi_ruleactions` VALUES ('5','5','assign','_refuse_email_no_response','1'); +INSERT INTO `glpi_ruleactions` VALUES ('7','7','fromuser','locations_id','1'); + +### Dump table glpi_rulecriterias + +DROP TABLE IF EXISTS `glpi_rulecriterias`; +CREATE TABLE `glpi_rulecriterias` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `rules_id` int(11) NOT NULL DEFAULT '0', + `criteria` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `condition` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php PATTERN_* and REGEX_* constant', + `pattern` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `rules_id` (`rules_id`), + KEY `condition` (`condition`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_rulecriterias` VALUES ('9','6','locations_id','9','1'); +INSERT INTO `glpi_rulecriterias` VALUES ('2','2','uid','0','*'); +INSERT INTO `glpi_rulecriterias` VALUES ('3','2','samaccountname','0','*'); +INSERT INTO `glpi_rulecriterias` VALUES ('4','2','MAIL_EMAIL','0','*'); +INSERT INTO `glpi_rulecriterias` VALUES ('5','3','subject','6','/.*/'); +INSERT INTO `glpi_rulecriterias` VALUES ('6','4','x-auto-response-suppress','6','/\\S+/'); +INSERT INTO `glpi_rulecriterias` VALUES ('7','5','auto-submitted','6','/\\S+/'); +INSERT INTO `glpi_rulecriterias` VALUES ('8','5','auto-submitted','1','no'); +INSERT INTO `glpi_rulecriterias` VALUES ('10','6','items_locations','8','1'); +INSERT INTO `glpi_rulecriterias` VALUES ('11','7','locations_id','9','1'); +INSERT INTO `glpi_rulecriterias` VALUES ('12','7','users_locations','8','1'); + +### Dump table glpi_rulerightparameters + +DROP TABLE IF EXISTS `glpi_rulerightparameters`; +CREATE TABLE `glpi_rulerightparameters` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_rulerightparameters` VALUES ('1','(LDAP)Organization','o',''); +INSERT INTO `glpi_rulerightparameters` VALUES ('2','(LDAP)Common Name','cn',''); +INSERT INTO `glpi_rulerightparameters` VALUES ('3','(LDAP)Department Number','departmentnumber',''); +INSERT INTO `glpi_rulerightparameters` VALUES ('4','(LDAP)Email','mail',''); +INSERT INTO `glpi_rulerightparameters` VALUES ('5','Object Class','objectclass',''); +INSERT INTO `glpi_rulerightparameters` VALUES ('6','(LDAP)User ID','uid',''); +INSERT INTO `glpi_rulerightparameters` VALUES ('7','(LDAP)Telephone Number','phone',''); +INSERT INTO `glpi_rulerightparameters` VALUES ('8','(LDAP)Employee Number','employeenumber',''); +INSERT INTO `glpi_rulerightparameters` VALUES ('9','(LDAP)Manager','manager',''); +INSERT INTO `glpi_rulerightparameters` VALUES ('10','(LDAP)DistinguishedName','dn',''); +INSERT INTO `glpi_rulerightparameters` VALUES ('12','(AD)User ID','samaccountname',''); +INSERT INTO `glpi_rulerightparameters` VALUES ('13','(LDAP) Title','title',''); +INSERT INTO `glpi_rulerightparameters` VALUES ('14','(LDAP) MemberOf','memberof',''); + +### Dump table glpi_rules + +DROP TABLE IF EXISTS `glpi_rules`; +CREATE TABLE `glpi_rules` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `sub_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `ranking` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `description` text COLLATE utf8_unicode_ci, + `match` char(10) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'see define.php *_MATCHING constant', + `is_active` tinyint(1) NOT NULL DEFAULT '1', + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `uuid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `condition` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `is_active` (`is_active`), + KEY `sub_type` (`sub_type`), + KEY `date_mod` (`date_mod`), + KEY `is_recursive` (`is_recursive`), + KEY `condition` (`condition`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_rules` VALUES ('2','0','RuleRight','1','Root','','OR','1',NULL,NULL,'0','09c819c2-2bd6e957-534e98061b6af2.07845350','0'); +INSERT INTO `glpi_rules` VALUES ('3','0','RuleMailCollector','3','Root','','OR','1',NULL,NULL,'0','09c819c2-2bd6e957-534e98061b7512.42696381','0'); +INSERT INTO `glpi_rules` VALUES ('4','0','RuleMailCollector','1','Auto-Reply X-Auto-Response-Suppress','Exclude Auto-Reply emails using X-Auto-Response-Suppress header','AND','1',NULL,'2011-01-18 11:40:42','1','09c819c2-2bd6e957-534e98061b7c88.75333169','0'); +INSERT INTO `glpi_rules` VALUES ('5','0','RuleMailCollector','2','Auto-Reply Auto-Submitted','Exclude Auto-Reply emails using Auto-Submitted header','AND','1',NULL,'2011-01-18 11:40:42','1','09c819c2-2bd6e957-534e98061b8339.40224435','0'); +INSERT INTO `glpi_rules` VALUES ('6','0','RuleTicket','1','Ticket location from item','','AND','0','Automatically generated by GLPI 0.84',NULL,'1','09c819c2-2bd6e957-534e98061b89d5.49312031','1'); +INSERT INTO `glpi_rules` VALUES ('7','0','RuleTicket','2','Ticket location from user','','AND','0','Automatically generated by GLPI 0.84',NULL,'1','09c819c2-2bd6e957-534e98061b9044.29772672','1'); + +### Dump table glpi_slalevelactions + +DROP TABLE IF EXISTS `glpi_slalevelactions`; +CREATE TABLE `glpi_slalevelactions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `slalevels_id` int(11) NOT NULL DEFAULT '0', + `action_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `slalevels_id` (`slalevels_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_slalevelcriterias + +DROP TABLE IF EXISTS `glpi_slalevelcriterias`; +CREATE TABLE `glpi_slalevelcriterias` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `slalevels_id` int(11) NOT NULL DEFAULT '0', + `criteria` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `condition` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php PATTERN_* and REGEX_* constant', + `pattern` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `slalevels_id` (`slalevels_id`), + KEY `condition` (`condition`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_slalevels + +DROP TABLE IF EXISTS `glpi_slalevels`; +CREATE TABLE `glpi_slalevels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `slas_id` int(11) NOT NULL DEFAULT '0', + `execution_time` int(11) NOT NULL, + `is_active` tinyint(1) NOT NULL DEFAULT '1', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `match` char(10) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'see define.php *_MATCHING constant', + `uuid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_active` (`is_active`), + KEY `slas_id` (`slas_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_slalevels_tickets + +DROP TABLE IF EXISTS `glpi_slalevels_tickets`; +CREATE TABLE `glpi_slalevels_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `slalevels_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `tickets_id` (`tickets_id`), + KEY `slalevels_id` (`slalevels_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_slas + +DROP TABLE IF EXISTS `glpi_slas`; +CREATE TABLE `glpi_slas` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `resolution_time` int(11) NOT NULL, + `calendars_id` int(11) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `definition_time` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `end_of_working_day` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `calendars_id` (`calendars_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `date_mod` (`date_mod`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_slas_profiles + +DROP TABLE IF EXISTS `glpi_slas_profiles`; +CREATE TABLE `glpi_slas_profiles` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `slas_id` int(11) NOT NULL DEFAULT '0', + `profiles_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `slas_id` (`slas_id`), + KEY `profiles_id` (`profiles_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_slas_users + +DROP TABLE IF EXISTS `glpi_slas_users`; +CREATE TABLE `glpi_slas_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `slas_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `slas_id` (`slas_id`), + KEY `users_id` (`users_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_softwarecategories + +DROP TABLE IF EXISTS `glpi_softwarecategories`; +CREATE TABLE `glpi_softwarecategories` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `softwarecategories_id` int(11) NOT NULL DEFAULT '0', + `completename` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `sons_cache` longtext COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `softwarecategories_id` (`softwarecategories_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_softwarecategories` VALUES ('1','FUSION',NULL,'0','FUSION','1',NULL,NULL); + +### Dump table glpi_softwarelicenses + +DROP TABLE IF EXISTS `glpi_softwarelicenses`; +CREATE TABLE `glpi_softwarelicenses` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `softwares_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `number` int(11) NOT NULL DEFAULT '0', + `softwarelicensetypes_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `softwareversions_id_buy` int(11) NOT NULL DEFAULT '0', + `softwareversions_id_use` int(11) NOT NULL DEFAULT '0', + `expire` date DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `is_valid` tinyint(1) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `serial` (`serial`), + KEY `otherserial` (`otherserial`), + KEY `expire` (`expire`), + KEY `softwareversions_id_buy` (`softwareversions_id_buy`), + KEY `entities_id` (`entities_id`), + KEY `softwarelicensetypes_id` (`softwarelicensetypes_id`), + KEY `softwareversions_id_use` (`softwareversions_id_use`), + KEY `date_mod` (`date_mod`), + KEY `softwares_id_expire` (`softwares_id`,`expire`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_softwarelicensetypes + +DROP TABLE IF EXISTS `glpi_softwarelicensetypes`; +CREATE TABLE `glpi_softwarelicensetypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_softwarelicensetypes` VALUES ('1','OEM',''); + +### Dump table glpi_softwares + +DROP TABLE IF EXISTS `glpi_softwares`; +CREATE TABLE `glpi_softwares` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `locations_id` int(11) NOT NULL DEFAULT '0', + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `is_update` tinyint(1) NOT NULL DEFAULT '0', + `softwares_id` int(11) NOT NULL DEFAULT '0', + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `ticket_tco` decimal(20,4) DEFAULT '0.0000', + `is_helpdesk_visible` tinyint(1) NOT NULL DEFAULT '1', + `softwarecategories_id` int(11) NOT NULL DEFAULT '0', + `is_valid` tinyint(1) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`), + KEY `name` (`name`), + KEY `is_template` (`is_template`), + KEY `is_update` (`is_update`), + KEY `softwarecategories_id` (`softwarecategories_id`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `groups_id` (`groups_id`), + KEY `users_id` (`users_id`), + KEY `locations_id` (`locations_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `softwares_id` (`softwares_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_helpdesk_visible` (`is_helpdesk_visible`), + KEY `groups_id_tech` (`groups_id_tech`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_softwareversions + +DROP TABLE IF EXISTS `glpi_softwareversions`; +CREATE TABLE `glpi_softwareversions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `softwares_id` int(11) NOT NULL DEFAULT '0', + `states_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `operatingsystems_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `softwares_id` (`softwares_id`), + KEY `states_id` (`states_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `operatingsystems_id` (`operatingsystems_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_solutiontemplates + +DROP TABLE IF EXISTS `glpi_solutiontemplates`; +CREATE TABLE `glpi_solutiontemplates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `content` text COLLATE utf8_unicode_ci, + `solutiontypes_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_recursive` (`is_recursive`), + KEY `solutiontypes_id` (`solutiontypes_id`), + KEY `entities_id` (`entities_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_solutiontypes + +DROP TABLE IF EXISTS `glpi_solutiontypes`; +CREATE TABLE `glpi_solutiontypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_ssovariables + +DROP TABLE IF EXISTS `glpi_ssovariables`; +CREATE TABLE `glpi_ssovariables` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_ssovariables` VALUES ('1','HTTP_AUTH_USER',''); +INSERT INTO `glpi_ssovariables` VALUES ('2','REMOTE_USER',''); +INSERT INTO `glpi_ssovariables` VALUES ('3','PHP_AUTH_USER',''); +INSERT INTO `glpi_ssovariables` VALUES ('4','USERNAME',''); +INSERT INTO `glpi_ssovariables` VALUES ('5','REDIRECT_REMOTE_USER',''); +INSERT INTO `glpi_ssovariables` VALUES ('6','HTTP_REMOTE_USER',''); + +### Dump table glpi_states + +DROP TABLE IF EXISTS `glpi_states`; +CREATE TABLE `glpi_states` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `states_id` int(11) NOT NULL DEFAULT '0', + `completename` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `sons_cache` longtext COLLATE utf8_unicode_ci, + `is_visible_computer` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_monitor` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_networkequipment` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_peripheral` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_phone` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_printer` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_softwareversion` tinyint(1) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `unicity` (`states_id`,`name`), + KEY `is_visible_computer` (`is_visible_computer`), + KEY `is_visible_monitor` (`is_visible_monitor`), + KEY `is_visible_networkequipment` (`is_visible_networkequipment`), + KEY `is_visible_peripheral` (`is_visible_peripheral`), + KEY `is_visible_phone` (`is_visible_phone`), + KEY `is_visible_printer` (`is_visible_printer`), + KEY `is_visible_softwareversion` (`is_visible_softwareversion`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_suppliers + +DROP TABLE IF EXISTS `glpi_suppliers`; +CREATE TABLE `glpi_suppliers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `suppliertypes_id` int(11) NOT NULL DEFAULT '0', + `address` text COLLATE utf8_unicode_ci, + `postcode` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `town` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `country` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `website` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phonenumber` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `fax` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `suppliertypes_id` (`suppliertypes_id`), + KEY `is_deleted` (`is_deleted`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_suppliers_tickets + +DROP TABLE IF EXISTS `glpi_suppliers_tickets`; +CREATE TABLE `glpi_suppliers_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `suppliers_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `use_notification` tinyint(1) NOT NULL DEFAULT '0', + `alternative_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`tickets_id`,`type`,`suppliers_id`), + KEY `group` (`suppliers_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_suppliertypes + +DROP TABLE IF EXISTS `glpi_suppliertypes`; +CREATE TABLE `glpi_suppliertypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_taskcategories + +DROP TABLE IF EXISTS `glpi_taskcategories`; +CREATE TABLE `glpi_taskcategories` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `taskcategories_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `completename` text COLLATE utf8_unicode_ci, + `comment` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `sons_cache` longtext COLLATE utf8_unicode_ci, + `is_helpdeskvisible` tinyint(1) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `taskcategories_id` (`taskcategories_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `is_helpdeskvisible` (`is_helpdeskvisible`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_ticketcosts + +DROP TABLE IF EXISTS `glpi_ticketcosts`; +CREATE TABLE `glpi_ticketcosts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `begin_date` date DEFAULT NULL, + `end_date` date DEFAULT NULL, + `actiontime` int(11) NOT NULL DEFAULT '0', + `cost_time` decimal(20,4) NOT NULL DEFAULT '0.0000', + `cost_fixed` decimal(20,4) NOT NULL DEFAULT '0.0000', + `cost_material` decimal(20,4) NOT NULL DEFAULT '0.0000', + `budgets_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `tickets_id` (`tickets_id`), + KEY `begin_date` (`begin_date`), + KEY `end_date` (`end_date`), + KEY `entities_id` (`entities_id`), + KEY `budgets_id` (`budgets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_ticketfollowups + +DROP TABLE IF EXISTS `glpi_ticketfollowups`; +CREATE TABLE `glpi_ticketfollowups` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `content` longtext COLLATE utf8_unicode_ci, + `is_private` tinyint(1) NOT NULL DEFAULT '0', + `requesttypes_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `date` (`date`), + KEY `users_id` (`users_id`), + KEY `tickets_id` (`tickets_id`), + KEY `is_private` (`is_private`), + KEY `requesttypes_id` (`requesttypes_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_ticketrecurrents + +DROP TABLE IF EXISTS `glpi_ticketrecurrents`; +CREATE TABLE `glpi_ticketrecurrents` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `is_active` tinyint(1) NOT NULL DEFAULT '0', + `tickettemplates_id` int(11) NOT NULL DEFAULT '0', + `begin_date` datetime DEFAULT NULL, + `periodicity` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `create_before` int(11) NOT NULL DEFAULT '0', + `next_creation_date` datetime DEFAULT NULL, + `calendars_id` int(11) NOT NULL DEFAULT '0', + `end_date` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `is_active` (`is_active`), + KEY `tickettemplates_id` (`tickettemplates_id`), + KEY `next_creation_date` (`next_creation_date`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_tickets + +DROP TABLE IF EXISTS `glpi_tickets`; +CREATE TABLE `glpi_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date` datetime DEFAULT NULL, + `closedate` datetime DEFAULT NULL, + `solvedate` datetime DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `users_id_lastupdater` int(11) NOT NULL DEFAULT '0', + `status` int(11) NOT NULL DEFAULT '1', + `users_id_recipient` int(11) NOT NULL DEFAULT '0', + `requesttypes_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + `content` longtext COLLATE utf8_unicode_ci, + `urgency` int(11) NOT NULL DEFAULT '1', + `impact` int(11) NOT NULL DEFAULT '1', + `priority` int(11) NOT NULL DEFAULT '1', + `itilcategories_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `solutiontypes_id` int(11) NOT NULL DEFAULT '0', + `solution` text COLLATE utf8_unicode_ci, + `global_validation` int(11) NOT NULL DEFAULT '1', + `slas_id` int(11) NOT NULL DEFAULT '0', + `slalevels_id` int(11) NOT NULL DEFAULT '0', + `due_date` datetime DEFAULT NULL, + `begin_waiting_date` datetime DEFAULT NULL, + `sla_waiting_duration` int(11) NOT NULL DEFAULT '0', + `waiting_duration` int(11) NOT NULL DEFAULT '0', + `close_delay_stat` int(11) NOT NULL DEFAULT '0', + `solve_delay_stat` int(11) NOT NULL DEFAULT '0', + `takeintoaccount_delay_stat` int(11) NOT NULL DEFAULT '0', + `actiontime` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `locations_id` int(11) NOT NULL DEFAULT '0', + `validation_percent` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `date` (`date`), + KEY `closedate` (`closedate`), + KEY `status` (`status`), + KEY `priority` (`priority`), + KEY `request_type` (`requesttypes_id`), + KEY `date_mod` (`date_mod`), + KEY `entities_id` (`entities_id`), + KEY `users_id_recipient` (`users_id_recipient`), + KEY `item` (`itemtype`,`items_id`), + KEY `solvedate` (`solvedate`), + KEY `urgency` (`urgency`), + KEY `impact` (`impact`), + KEY `global_validation` (`global_validation`), + KEY `slas_id` (`slas_id`), + KEY `slalevels_id` (`slalevels_id`), + KEY `due_date` (`due_date`), + KEY `users_id_lastupdater` (`users_id_lastupdater`), + KEY `type` (`type`), + KEY `solutiontypes_id` (`solutiontypes_id`), + KEY `itilcategories_id` (`itilcategories_id`), + KEY `is_deleted` (`is_deleted`), + KEY `name` (`name`), + KEY `locations_id` (`locations_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_tickets_tickets + +DROP TABLE IF EXISTS `glpi_tickets_tickets`; +CREATE TABLE `glpi_tickets_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id_1` int(11) NOT NULL DEFAULT '0', + `tickets_id_2` int(11) NOT NULL DEFAULT '0', + `link` int(11) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + KEY `unicity` (`tickets_id_1`,`tickets_id_2`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_tickets_users + +DROP TABLE IF EXISTS `glpi_tickets_users`; +CREATE TABLE `glpi_tickets_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `use_notification` tinyint(1) NOT NULL DEFAULT '1', + `alternative_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`tickets_id`,`type`,`users_id`,`alternative_email`), + KEY `user` (`users_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_ticketsatisfactions + +DROP TABLE IF EXISTS `glpi_ticketsatisfactions`; +CREATE TABLE `glpi_ticketsatisfactions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `date_begin` datetime DEFAULT NULL, + `date_answered` datetime DEFAULT NULL, + `satisfaction` int(11) DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + UNIQUE KEY `tickets_id` (`tickets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_tickettasks + +DROP TABLE IF EXISTS `glpi_tickettasks`; +CREATE TABLE `glpi_tickettasks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `taskcategories_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `content` longtext COLLATE utf8_unicode_ci, + `is_private` tinyint(1) NOT NULL DEFAULT '0', + `actiontime` int(11) NOT NULL DEFAULT '0', + `begin` datetime DEFAULT NULL, + `end` datetime DEFAULT NULL, + `state` int(11) NOT NULL DEFAULT '1', + `users_id_tech` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `date` (`date`), + KEY `users_id` (`users_id`), + KEY `tickets_id` (`tickets_id`), + KEY `is_private` (`is_private`), + KEY `taskcategories_id` (`taskcategories_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_tickettemplatehiddenfields + +DROP TABLE IF EXISTS `glpi_tickettemplatehiddenfields`; +CREATE TABLE `glpi_tickettemplatehiddenfields` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickettemplates_id` int(11) NOT NULL DEFAULT '0', + `num` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `unicity` (`tickettemplates_id`,`num`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_tickettemplatemandatoryfields + +DROP TABLE IF EXISTS `glpi_tickettemplatemandatoryfields`; +CREATE TABLE `glpi_tickettemplatemandatoryfields` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickettemplates_id` int(11) NOT NULL DEFAULT '0', + `num` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `unicity` (`tickettemplates_id`,`num`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_tickettemplatemandatoryfields` VALUES ('1','1','21'); + +### Dump table glpi_tickettemplatepredefinedfields + +DROP TABLE IF EXISTS `glpi_tickettemplatepredefinedfields`; +CREATE TABLE `glpi_tickettemplatepredefinedfields` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickettemplates_id` int(11) NOT NULL DEFAULT '0', + `num` int(11) NOT NULL DEFAULT '0', + `value` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `unicity` (`tickettemplates_id`,`num`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_tickettemplates + +DROP TABLE IF EXISTS `glpi_tickettemplates`; +CREATE TABLE `glpi_tickettemplates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_tickettemplates` VALUES ('1','Default','0','1',NULL); + +### Dump table glpi_ticketvalidations + +DROP TABLE IF EXISTS `glpi_ticketvalidations`; +CREATE TABLE `glpi_ticketvalidations` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `tickets_id` int(11) NOT NULL DEFAULT '0', + `users_id_validate` int(11) NOT NULL DEFAULT '0', + `comment_submission` text COLLATE utf8_unicode_ci, + `comment_validation` text COLLATE utf8_unicode_ci, + `status` int(11) NOT NULL DEFAULT '2', + `submission_date` datetime DEFAULT NULL, + `validation_date` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `users_id` (`users_id`), + KEY `users_id_validate` (`users_id_validate`), + KEY `tickets_id` (`tickets_id`), + KEY `submission_date` (`submission_date`), + KEY `validation_date` (`validation_date`), + KEY `status` (`status`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_transfers + +DROP TABLE IF EXISTS `glpi_transfers`; +CREATE TABLE `glpi_transfers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `keep_ticket` int(11) NOT NULL DEFAULT '0', + `keep_networklink` int(11) NOT NULL DEFAULT '0', + `keep_reservation` int(11) NOT NULL DEFAULT '0', + `keep_history` int(11) NOT NULL DEFAULT '0', + `keep_device` int(11) NOT NULL DEFAULT '0', + `keep_infocom` int(11) NOT NULL DEFAULT '0', + `keep_dc_monitor` int(11) NOT NULL DEFAULT '0', + `clean_dc_monitor` int(11) NOT NULL DEFAULT '0', + `keep_dc_phone` int(11) NOT NULL DEFAULT '0', + `clean_dc_phone` int(11) NOT NULL DEFAULT '0', + `keep_dc_peripheral` int(11) NOT NULL DEFAULT '0', + `clean_dc_peripheral` int(11) NOT NULL DEFAULT '0', + `keep_dc_printer` int(11) NOT NULL DEFAULT '0', + `clean_dc_printer` int(11) NOT NULL DEFAULT '0', + `keep_supplier` int(11) NOT NULL DEFAULT '0', + `clean_supplier` int(11) NOT NULL DEFAULT '0', + `keep_contact` int(11) NOT NULL DEFAULT '0', + `clean_contact` int(11) NOT NULL DEFAULT '0', + `keep_contract` int(11) NOT NULL DEFAULT '0', + `clean_contract` int(11) NOT NULL DEFAULT '0', + `keep_software` int(11) NOT NULL DEFAULT '0', + `clean_software` int(11) NOT NULL DEFAULT '0', + `keep_document` int(11) NOT NULL DEFAULT '0', + `clean_document` int(11) NOT NULL DEFAULT '0', + `keep_cartridgeitem` int(11) NOT NULL DEFAULT '0', + `clean_cartridgeitem` int(11) NOT NULL DEFAULT '0', + `keep_cartridge` int(11) NOT NULL DEFAULT '0', + `keep_consumable` int(11) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `keep_disk` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_transfers` VALUES ('1','complete','2','2','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1',NULL,NULL,'1'); + +### Dump table glpi_usercategories + +DROP TABLE IF EXISTS `glpi_usercategories`; +CREATE TABLE `glpi_usercategories` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_useremails + +DROP TABLE IF EXISTS `glpi_useremails`; +CREATE TABLE `glpi_useremails` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `users_id` int(11) NOT NULL DEFAULT '0', + `is_default` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`users_id`,`email`), + KEY `email` (`email`), + KEY `is_default` (`is_default`), + KEY `is_dynamic` (`is_dynamic`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_users + +DROP TABLE IF EXISTS `glpi_users`; +CREATE TABLE `glpi_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phone` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phone2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `mobile` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `realname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `firstname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `locations_id` int(11) NOT NULL DEFAULT '0', + `language` char(10) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'see define.php CFG_GLPI[language] array', + `use_mode` int(11) NOT NULL DEFAULT '0', + `list_limit` int(11) DEFAULT NULL, + `is_active` tinyint(1) NOT NULL DEFAULT '1', + `comment` text COLLATE utf8_unicode_ci, + `auths_id` int(11) NOT NULL DEFAULT '0', + `authtype` int(11) NOT NULL DEFAULT '0', + `last_login` datetime DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `date_sync` datetime DEFAULT NULL, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `profiles_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `usertitles_id` int(11) NOT NULL DEFAULT '0', + `usercategories_id` int(11) NOT NULL DEFAULT '0', + `date_format` int(11) DEFAULT NULL, + `number_format` int(11) DEFAULT NULL, + `names_format` int(11) DEFAULT NULL, + `csv_delimiter` char(1) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_ids_visible` tinyint(1) DEFAULT NULL, + `dropdown_chars_limit` int(11) DEFAULT NULL, + `use_flat_dropdowntree` tinyint(1) DEFAULT NULL, + `show_jobs_at_login` tinyint(1) DEFAULT NULL, + `priority_1` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority_2` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority_3` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority_4` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority_5` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority_6` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `followup_private` tinyint(1) DEFAULT NULL, + `task_private` tinyint(1) DEFAULT NULL, + `default_requesttypes_id` int(11) DEFAULT NULL, + `password_forget_token` char(40) COLLATE utf8_unicode_ci DEFAULT NULL, + `password_forget_token_date` datetime DEFAULT NULL, + `user_dn` text COLLATE utf8_unicode_ci, + `registration_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `show_count_on_tabs` tinyint(1) DEFAULT NULL, + `refresh_ticket_list` int(11) DEFAULT NULL, + `set_default_tech` tinyint(1) DEFAULT NULL, + `personal_token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `personal_token_date` datetime DEFAULT NULL, + `display_count_on_home` int(11) DEFAULT NULL, + `notification_to_myself` tinyint(1) DEFAULT NULL, + `duedateok_color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `duedatewarning_color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `duedatecritical_color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `duedatewarning_less` int(11) DEFAULT NULL, + `duedatecritical_less` int(11) DEFAULT NULL, + `duedatewarning_unit` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `duedatecritical_unit` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `display_options` text COLLATE utf8_unicode_ci, + `is_deleted_ldap` tinyint(1) NOT NULL DEFAULT '0', + `pdffont` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `picture` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `begin_date` datetime DEFAULT NULL, + `end_date` datetime DEFAULT NULL, + `keep_devices_when_purging_item` tinyint(1) DEFAULT NULL, + `privatebookmarkorder` longtext COLLATE utf8_unicode_ci, + `backcreated` tinyint(1) DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`name`), + KEY `firstname` (`firstname`), + KEY `realname` (`realname`), + KEY `entities_id` (`entities_id`), + KEY `profiles_id` (`profiles_id`), + KEY `locations_id` (`locations_id`), + KEY `usertitles_id` (`usertitles_id`), + KEY `usercategories_id` (`usercategories_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_active` (`is_active`), + KEY `date_mod` (`date_mod`), + KEY `authitem` (`authtype`,`auths_id`), + KEY `is_deleted_ldap` (`is_deleted_ldap`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + +INSERT INTO `glpi_users` VALUES ('2','glpi','$2y$10$BS4ZZ.g2qfbGZ5aq5b1kAeI/esfa6T3Hqj6jTDC.CJC9y7iUodw/u','','','','',NULL,'0',NULL,'0','20','1',NULL,'0','1','2014-04-16 16:47:54','2014-04-16 16:47:54',NULL,'0','0','0','0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0',NULL,NULL,NULL,NULL,NULL,NULL,NULL); +INSERT INTO `glpi_users` VALUES ('3','post-only','3177926a7314de24680a9938aaa97703','','','','',NULL,'0','en_GB','0','20','1',NULL,'0','0',NULL,NULL,NULL,'0','0','0','0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0',NULL,NULL,NULL,NULL,NULL,NULL,NULL); +INSERT INTO `glpi_users` VALUES ('4','tech','d9f9133fb120cd6096870bc2b496805b','','','','',NULL,'0','fr_FR','0','20','1',NULL,'0','0',NULL,NULL,NULL,'0','0','0','0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0',NULL,NULL,NULL,NULL,NULL,NULL,NULL); +INSERT INTO `glpi_users` VALUES ('5','normal','fea087517c26fadd409bd4b9dc642555','','','','',NULL,'0','en_GB','0','20','1',NULL,'0','0',NULL,NULL,NULL,'0','0','0','0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0',NULL,NULL,NULL,NULL,NULL,NULL,NULL); + +### Dump table glpi_usertitles + +DROP TABLE IF EXISTS `glpi_usertitles`; +CREATE TABLE `glpi_usertitles` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_virtualmachinestates + +DROP TABLE IF EXISTS `glpi_virtualmachinestates`; +CREATE TABLE `glpi_virtualmachinestates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `comment` text COLLATE utf8_unicode_ci NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_virtualmachinesystems + +DROP TABLE IF EXISTS `glpi_virtualmachinesystems`; +CREATE TABLE `glpi_virtualmachinesystems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `comment` text COLLATE utf8_unicode_ci NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_virtualmachinetypes + +DROP TABLE IF EXISTS `glpi_virtualmachinetypes`; +CREATE TABLE `glpi_virtualmachinetypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `comment` text COLLATE utf8_unicode_ci NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_vlans + +DROP TABLE IF EXISTS `glpi_vlans`; +CREATE TABLE `glpi_vlans` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `tag` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `tag` (`tag`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; + + +### Dump table glpi_wifinetworks + +DROP TABLE IF EXISTS `glpi_wifinetworks`; +CREATE TABLE `glpi_wifinetworks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `essid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `mode` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'ad-hoc, access_point', + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `essid` (`essid`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +