sla.diff

ddurieux, 06/11/2014 06:39 PM

Download (366 KB)

View differences:

ajax/getDropdownValue.php
138 138
         }
139 139
         // Also search by id
140 140
         if ($displaywith && in_array('id', $_GET['displaywith'])) {
141
            $where .= " OR `$table`.`id` ".$search;         
141
            $where .= " OR `$table`.`id` ".$search;
142 142
         }
143
         
143

  
144 144
         $where .= ")";
145 145
      }
146 146
   }
......
454 454
         }
455 455
         // Also search by id
456 456
         if ($displaywith && in_array('id', $_GET['displaywith'])) {
457
            $where .= " OR `$table`.`id` ".$search;         
457
            $where .= " OR `$table`.`id` ".$search;
458 458
         }
459 459

  
460 460
         $where .= ')';
......
506 506
                   $where";
507 507
         break;
508 508

  
509
      case "SLA" :
510
         $where .= " AND (";
511
         // groups
512
         if (!empty($_SESSION['glpigroups'])) {
513
            $where .= " `glpi_groups_slas`.`groups_id` IN ('".implode("', '", $_SESSION['glpigroups'])."') OR ";
514
         }
515
         // entity
516
         $where .= " `glpi_entities_slas`.`entities_id`='".$_GET['entity_restrict']."' OR ";
517
         // user
518
         $where .= " `glpi_slas_users`.`users_id`='".$_SESSION['glpiID']."' OR ";
519
         // profile
520
         $where .= " `glpi_slas_profiles`.`profiles_id`='".$_SESSION['glpiactiveprofile']['id']."' ";
521

  
522
         $where .= " )";
523

  
524

  
525
         $query = "SELECT DISTINCT `$table`.*
526
                   FROM `$table`
527
                   LEFT JOIN `glpi_groups_slas`
528
                        ON (`glpi_groups_slas`.`slas_id` = `$table`.`id`)
529
                   LEFT JOIN `glpi_entities_slas`
530
                        ON (`glpi_entities_slas`.`slas_id` = `$table`.`id`)
531
                   LEFT JOIN `glpi_slas_users`
532
                        ON (`glpi_slas_users`.`slas_id` = `$table`.`id`)
533
                   LEFT JOIN `glpi_slas_profiles`
534
                        ON (`glpi_slas_profiles`.`slas_id` = `$table`.`id`)
535
                   $where";
536
         break;
537

  
538

  
509 539
      default :
510 540
         $query = "SELECT `$table`.* $addselect
511 541
                   FROM `$table`
front/sla.form.php
71 71
              sprintf(__('%s updates an item'), $_SESSION["glpiname"]));
72 72
   Html::back();
73 73

  
74
} else if (isset($_POST["addvisibility"])) {
75
   if (isset($_POST["_type"]) && !empty($_POST["_type"])
76
       && isset($_POST["slas_id"]) && $_POST["slas_id"]) {
77
      $item = NULL;
78
      switch ($_POST["_type"]) {
79
         case 'User' :
80
            if (isset($_POST['users_id']) && $_POST['users_id']) {
81
               $item = new SLA_User();
82
            }
83
            break;
84

  
85
         case 'Group' :
86
            if (isset($_POST['groups_id']) && $_POST['groups_id']) {
87
               $item = new Group_SLA();
88
            }
89
            break;
90

  
91
         case 'Profile' :
92
            if (isset($_POST['profiles_id']) && $_POST['profiles_id']) {
93
               $item = new SLA_Profile();
94
            }
95
            break;
96

  
97
         case 'Entity' :
98
            $item = new Entity_SLA();
99
            break;
100
      }
101
      if (!is_null($item)) {
102
         $item->add($_POST);
103
         Event::log($_POST["slas_id"], "sla", 4, "tools",
104
                    //TRANS: %s is the user login
105
                    sprintf(__('%s adds a target'), $_SESSION["glpiname"]));
106
      }
107
   }
108
   Html::back();
74 109
} else {
75 110
   Html::header(SLA::getTypeName(2), $_SERVER['PHP_SELF'], "config", "sla");
76 111

  
inc/entity_sla.class.php
1
<?php
2
/*
3
 * @version $Id$
4
 -------------------------------------------------------------------------
5
 GLPI - Gestionnaire Libre de Parc Informatique
6
 Copyright (C) 2003-2014 by the INDEPNET Development Team.
7

  
8
 http://indepnet.net/   http://glpi-project.org
9
 -------------------------------------------------------------------------
10

  
11
 LICENSE
12

  
13
 This file is part of GLPI.
14

  
15
 GLPI is free software; you can redistribute it and/or modify
16
 it under the terms of the GNU General Public License as published by
17
 the Free Software Foundation; either version 2 of the License, or
18
 (at your option) any later version.
19

  
20
 GLPI is distributed in the hope that it will be useful,
21
 but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 GNU General Public License for more details.
24

  
25
 You should have received a copy of the GNU General Public License
26
 along with GLPI. If not, see <http://www.gnu.org/licenses/>.
27
 --------------------------------------------------------------------------
28
 */
29

  
30
/** @file
31
* @brief
32
*/
33

  
34
if (!defined('GLPI_ROOT')) {
35
   die("Sorry. You can't access directly to this file");
36
}
37

  
38
/// Class Entity_SLA
39
/// since version 0.86
40
class Entity_SLA extends CommonDBRelation {
41

  
42
   // From CommonDBRelation
43
   static public $itemtype_1          = 'SLA';
44
   static public $items_id_1          = 'slas_id';
45
   static public $itemtype_2          = 'Entity';
46
   static public $items_id_2          = 'entities_id';
47

  
48
   static public $checkItem_2_Rights  = self::DONT_CHECK_ITEM_RIGHTS;
49
   static public $logs_for_item_2     = false;
50

  
51

  
52
   /**
53
    * Get entities for a SLA
54
    *
55
    * @param $slas_id ID of the SLA
56
    *
57
    * @return array of entities linked to a SLA
58
   **/
59
   static function getEntities($slas_id) {
60
      global $DB;
61

  
62
      $ent   = array();
63
      $query = "SELECT `glpi_entities_slas`.*
64
                FROM `glpi_entities_slas`
65
                WHERE `slas_id` = '$slas_id'";
66

  
67
      foreach ($DB->request($query) as $data) {
68
         $ent[$data['entities_id']][] = $data;
69
      }
70
      return $ent;
71
   }
72

  
73
}
74
?>
inc/group_sla.class.php
1
<?php
2
/*
3
 * @version $Id$
4
 -------------------------------------------------------------------------
5
 GLPI - Gestionnaire Libre de Parc Informatique
6
 Copyright (C) 2003-2014 by the INDEPNET Development Team.
7

  
8
 http://indepnet.net/   http://glpi-project.org
9
 -------------------------------------------------------------------------
10

  
11
 LICENSE
12

  
13
 This file is part of GLPI.
14

  
15
 GLPI is free software; you can redistribute it and/or modify
16
 it under the terms of the GNU General Public License as published by
17
 the Free Software Foundation; either version 2 of the License, or
18
 (at your option) any later version.
19

  
20
 GLPI is distributed in the hope that it will be useful,
21
 but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 GNU General Public License for more details.
24

  
25
 You should have received a copy of the GNU General Public License
26
 along with GLPI. If not, see <http://www.gnu.org/licenses/>.
27
 --------------------------------------------------------------------------
28
 */
29

  
30
/** @file
31
* @brief
32
*/
33

  
34
if (!defined('GLPI_ROOT')) {
35
   die("Sorry. You can't access directly to this file");
36
}
37

  
38
/// Class Group_Sla
39
/// since version 0.86
40
class Group_SLA extends CommonDBRelation {
41

  
42
   // From CommonDBRelation
43
   static public $itemtype_1          = 'SLA';
44
   static public $items_id_1          = 'slas_id';
45
   static public $itemtype_2          = 'Group';
46
   static public $items_id_2          = 'groups_id';
47

  
48
   static public $checkItem_2_Rights  = self::DONT_CHECK_ITEM_RIGHTS;
49
   static public $logs_for_item_2     = false;
50

  
51

  
52
   /**
53
    * Get groups for a SLA
54
    *
55
    * @param $slas_id ID of the SLA
56
    *
57
    * @return array of groups linked to a SLA
58
   **/
59
   static function getGroups($slas_id) {
60
      global $DB;
61

  
62
      $groups = array();
63
      $query  = "SELECT `glpi_groups_slas`.*
64
                 FROM `glpi_groups_slas`
65
                 WHERE slas_id = '$slas_id'";
66

  
67
      foreach ($DB->request($query) as $data) {
68
         $groups[$data['groups_id']][] = $data;
69
      }
70
      return $groups;
71
   }
72

  
73
}
74
?>
inc/sla.class.php
40 40
**/
41 41
class SLA extends CommonDBTM {
42 42

  
43
   // For visibility checks
44
   protected $users     = array();
45
   protected $groups    = array();
46
   protected $profiles  = array();
47
   protected $entities  = array();
48

  
43 49
   // From CommonDBTM
44 50
   var $dohistory                      = true;
45 51

  
......
70 76
   function defineTabs($options=array()) {
71 77

  
72 78
      $ong = array();
73
      $this->addDefaultFormTab($ong);
79
      $this->addStandardTab(__CLASS__, $ong, $options);
74 80
      $this->addStandardTab('SlaLevel', $ong, $options);
75 81
      $this->addStandardTab('Rule', $ong, $options);
76 82
      $this->addStandardTab('Ticket', $ong, $options);
......
80 86

  
81 87

  
82 88
   /**
89
    * @since version 0.86
90
   **/
91
   function getTabNameForItem(CommonGLPI $item, $withtemplate=0) {
92

  
93
      if (!$withtemplate) {
94
         switch ($item->getType()) {
95
            case __CLASS__ :
96
               $ong[1] = $this->getTypeName(1);
97
               if ($item->canUpdateItem()) {
98
                  if ($_SESSION['glpishow_count_on_tabs']) {
99
                     $nb = $item->countVisibilities();
100
                     $ong[2] = self::createTabEntry(_n('Target','Targets',$nb),
101
                                                    $nb);
102
                  } else {
103
                     $ong[2] = _n('Target','Targets',2);
104
                  }
105
               }
106
               return $ong;
107
         }
108
      }
109
      return '';
110
   }
111

  
112

  
113
   /**
114
    * @since version 0.86
115
   **/
116
   static function displayTabContentForItem(CommonGLPI $item, $tabnum=1, $withtemplate=0) {
117

  
118
      if ($item->getType() == __CLASS__) {
119
         switch($tabnum) {
120
            case 1 :
121
               $item->showForm($item->getID());
122
               break;
123

  
124
            case 2 :
125
               $item->showVisibility();
126
               break;
127
         }
128
      }
129
      return true;
130
   }
131

  
132

  
133
   /**
134
    * @since version 0.83
135
   **/
136
   function post_getFromDB() {
137

  
138
      // Users
139
      $this->users    = SLA_User::getUsers($this->fields['id']);
140

  
141
      // Entities
142
      $this->entities = Entity_SLA::getEntities($this->fields['id']);
143

  
144
      // Group / entities
145
      $this->groups   = Group_SLA::getGroups($this->fields['id']);
146

  
147
      // Profile / entities
148
      $this->profiles = SLA_Profile::getProfiles($this->fields['id']);
149
   }
150

  
151

  
152

  
153
   /**
154
    * @since version 0.86
155
   **/
156
   function countVisibilities() {
157

  
158
      return (count($this->entities)
159
              + count($this->users)
160
              + count($this->groups)
161
              + count($this->profiles));
162
   }
163

  
164

  
165
   /**
83 166
    * @since version 0.85
84 167
    *
85 168
    * @see CommonDBTM::post_getEmpty()
......
501 584
      return $input;
502 585
   }
503 586

  
587

  
588
   /**
589
    * Show visibility config for a SLA
590
    *
591
    * @since version 0.86
592
   **/
593
   function showVisibility() {
594
      global $DB, $CFG_GLPI;
595

  
596
      $ID      = $this->fields['id'];
597
      $canedit = $this->can($ID, UPDATE);
598

  
599
      echo "<div class='center'>";
600

  
601
      $rand = mt_rand();
602
      $nb   = count($this->users) + count($this->groups) + count($this->profiles)
603
              + count($this->entities);
604

  
605
      if ($canedit) {
606
         echo "<div class='firstbloc'>";
607
         echo "<form name='slavisibility_form$rand' id='slavisibility_form$rand' ";
608
         echo " method='post' action='".Toolbox::getItemTypeFormURL('SLA')."'>";
609
         echo "<input type='hidden' name='slas_id' value='$ID'>";
610
         echo "<table class='tab_cadre_fixe'>";
611
         echo "<tr class='tab_bg_1'><th colspan='4'>".__('Add a target')."</th></tr>";
612
         echo "<tr class='tab_bg_2'><td width='100px'>";
613

  
614
         $types = array('Entity', 'Group', 'Profile', 'User');
615

  
616
         $addrand = Dropdown::showItemTypes('_type', $types);
617
         $params  = array('type'  => '__VALUE__',
618
                          'right' => 'update_ticket');
619

  
620
         Ajax::updateItemOnSelectEvent("dropdown__type".$addrand,"visibility$rand",
621
                                       $CFG_GLPI["root_doc"]."/ajax/visibility.php",
622
                                       $params);
623

  
624
         echo "</td>";
625
         echo "<td><span id='visibility$rand'></span>";
626
         echo "</td></tr>";
627
         echo "</table>";
628
         Html::closeForm();
629
         echo "</div>";
630
      }
631

  
632

  
633
      echo "<div class='spaced'>";
634
      if ($canedit && $nb) {
635
         Html::openMassiveActionsForm('mass'.__CLASS__.$rand);
636
         $massiveactionparams
637
            = array('num_displayed'
638
                        => $nb,
639
                    'container'
640
                        => 'mass'.__CLASS__.$rand,
641
                    'specific_actions'
642
                         => array('delete' => _x('button', 'Delete permanently')) );
643

  
644
         Html::showMassiveActions($massiveactionparams);
645
      }
646
      echo "<table class='tab_cadre_fixehov'>";
647
      $header_begin  = "<tr>";
648
      $header_top    = '';
649
      $header_bottom = '';
650
      $header_end    = '';
651
      if ($canedit && $nb) {
652
         $header_begin  .= "<th width='10'>";
653
         $header_top    .= Html::getCheckAllAsCheckbox('mass'.__CLASS__.$rand);
654
         $header_bottom .= Html::getCheckAllAsCheckbox('mass'.__CLASS__.$rand);
655
         $header_end    .= "</th>";
656
      }
657
      $header_end .= "<th>".__('Type')."</th>";
658
      $header_end .= "<th>"._n('Recipient', 'Recipients', 2)."</th>";
659
      $header_end .= "</tr>";
660
      echo $header_begin.$header_top.$header_end;
661

  
662
      // Users
663
      if (count($this->users)) {
664
         foreach ($this->users as $key => $val) {
665
            foreach ($val as $data) {
666
               echo "<tr class='tab_bg_1'>";
667
               if ($canedit) {
668
                  echo "<td>";
669
                  Html::showMassiveActionCheckBox('SLA_User',$data["id"]);
670
                  echo "</td>";
671
               }
672
               echo "<td>".__('User')."</td>";
673
               echo "<td>".getUserName($data['users_id'])."</td>";
674
               echo "</tr>";
675
            }
676
         }
677
      }
678

  
679
      // Groups
680
      if (count($this->groups)) {
681
         foreach ($this->groups as $key => $val) {
682
            foreach ($val as $data) {
683
               echo "<tr class='tab_bg_1'>";
684
               if ($canedit) {
685
                  echo "<td>";
686
                  Html::showMassiveActionCheckBox('Group_SLA',$data["id"]);
687
                  echo "</td>";
688
               }
689
               echo "<td>".__('Group')."</td>";
690
               echo "<td>";
691
               $names     = Dropdown::getDropdownName('glpi_groups', $data['groups_id'],1);
692
               $groupname = sprintf(__('%1$s %2$s'), $names["name"],
693
                                    Html::showToolTip($names["comment"], array('display' => false)));
694
               if ($data['entities_id'] >= 0) {
695
                  $groupname = sprintf(__('%1$s / %2$s'), $groupname,
696
                                       Dropdown::getDropdownName('glpi_entities',
697
                                                                 $data['entities_id']));
698
                  if ($data['is_recursive']) {
699
                     $groupname = sprintf(__('%1$s %2$s'), $groupname,
700
                                          "<span class='b'>(".__('R').")</span>");
701
                  }
702
               }
703
               echo $groupname;
704
               echo "</td>";
705
               echo "</tr>";
706
            }
707
         }
708
      }
709

  
710
      // Entity
711
      if (count($this->entities)) {
712
         foreach ($this->entities as $key => $val) {
713
            foreach ($val as $data) {
714
               echo "<tr class='tab_bg_1'>";
715
               if ($canedit) {
716
                  echo "<td>";
717
                  Html::showMassiveActionCheckBox('Entity_SLA',$data["id"]);
718
                  echo "</td>";
719
               }
720
               echo "<td>".__('Entity')."</td>";
721
               echo "<td>";
722
               $names      = Dropdown::getDropdownName('glpi_entities', $data['entities_id'],1);
723
               $entityname = sprintf(__('%1$s %2$s'), $names["name"],
724
                                    Html::showToolTip($names["comment"], array('display' => false)));
725
               if ($data['is_recursive']) {
726
                  $entityname = sprintf(__('%1$s %2$s'), $entityname,
727
                                        "<span class='b'>(".__('R').")</span>");
728
               }
729
               echo $entityname;
730
               echo "</td>";
731
               echo "</tr>";
732
            }
733
         }
734
      }
735

  
736
      // Profiles
737
      if (count($this->profiles)) {
738
         foreach ($this->profiles as $key => $val) {
739
            foreach ($val as $data) {
740
               echo "<tr class='tab_bg_1'>";
741
               if ($canedit) {
742
                  echo "<td>";
743
                  Html::showMassiveActionCheckBox('SLA_Profile',$data["id"]);
744
                  echo "</td>";
745
               }
746
               echo "<td>"._n('Profile', 'Profiles', 1)."</td>";
747
               echo "<td>";
748
               $names       = Dropdown::getDropdownName('glpi_profiles', $data['profiles_id'], 1);
749
               $profilename = sprintf(__('%1$s %2$s'), $names["name"],
750
                                    Html::showToolTip($names["comment"], array('display' => false)));
751
               if ($data['entities_id'] >= 0) {
752
                  $profilename = sprintf(__('%1$s / %2$s'), $profilename,
753
                                       Dropdown::getDropdownName('glpi_entities',
754
                                                                 $data['entities_id']));
755
                  if ($data['is_recursive']) {
756
                     $profilename = sprintf(__('%1$s %2$s'), $profilename,
757
                                        "<span class='b'>(".__('R').")</span>");
758
                  }
759
               }
760
               echo $profilename;
761
               echo "</td>";
762
               echo "</tr>";
763
            }
764
         }
765
      }
766
      if ($nb) {
767
         echo $header_begin.$header_bottom.$header_end;
768
      }
769

  
770
      echo "</table>";
771
      if ($canedit && $nb) {
772
         $massiveactionparams['ontop'] =false;
773
         Html::showMassiveActions($massiveactionparams);
774
         Html::closeForm();
775
      }
776

  
777
      echo "</div>";
778
      // Add items
779

  
780
      return true;
781
   }
782

  
504 783
}
505 784
?>
inc/sla_profile.class.php
1
<?php
2
/*
3
 * @version $Id$
4
 -------------------------------------------------------------------------
5
 GLPI - Gestionnaire Libre de Parc Informatique
6
 Copyright (C) 2003-2014 by the INDEPNET Development Team.
7

  
8
 http://indepnet.net/   http://glpi-project.org
9
 -------------------------------------------------------------------------
10

  
11
 LICENSE
12

  
13
 This file is part of GLPI.
14

  
15
 GLPI is free software; you can redistribute it and/or modify
16
 it under the terms of the GNU General Public License as published by
17
 the Free Software Foundation; either version 2 of the License, or
18
 (at your option) any later version.
19

  
20
 GLPI is distributed in the hope that it will be useful,
21
 but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 GNU General Public License for more details.
24

  
25
 You should have received a copy of the GNU General Public License
26
 along with GLPI. If not, see <http://www.gnu.org/licenses/>.
27
 --------------------------------------------------------------------------
28
 */
29

  
30
/** @file
31
* @brief
32
*/
33

  
34
if (!defined('GLPI_ROOT')) {
35
   die("Sorry. You can't access directly to this file");
36
}
37

  
38
/// Class SLA_Profile
39
/// since version 0.86
40
class SLA_Profile extends CommonDBRelation {
41

  
42
   // From CommonDBRelation
43
   static public $itemtype_1          = 'SLA';
44
   static public $items_id_1          = 'slas_id';
45
   static public $itemtype_2          = 'Profile';
46
   static public $items_id_2          = 'profiles_id';
47

  
48
   static public $checkItem_2_Rights  = self::DONT_CHECK_ITEM_RIGHTS;
49
   static public $logs_for_item_2     = false;
50

  
51

  
52
   /**
53
    * Get profiles for a SLA
54
    *
55
    * @param $slas_id ID of the SLA
56
    *
57
    * @return array of profiles linked to a SLA
58
   **/
59
   static function getProfiles($slas_id) {
60
      global $DB;
61

  
62
      $prof  = array();
63
      $query = "SELECT `glpi_slas_profiles`.*
64
                FROM `glpi_slas_profiles`
65
                WHERE `slas_id` = '$slas_id'";
66

  
67
      foreach ($DB->request($query) as $data) {
68
         $prof[$data['profiles_id']][] = $data;
69
      }
70
      return $prof;
71
   }
72

  
73
}
74
?>
inc/sla_user.class.php
1
<?php
2
/*
3
 * @version $Id$
4
 -------------------------------------------------------------------------
5
 GLPI - Gestionnaire Libre de Parc Informatique
6
 Copyright (C) 2003-2014 by the INDEPNET Development Team.
7

  
8
 http://indepnet.net/   http://glpi-project.org
9
 -------------------------------------------------------------------------
10

  
11
 LICENSE
12

  
13
 This file is part of GLPI.
14

  
15
 GLPI is free software; you can redistribute it and/or modify
16
 it under the terms of the GNU General Public License as published by
17
 the Free Software Foundation; either version 2 of the License, or
18
 (at your option) any later version.
19

  
20
 GLPI is distributed in the hope that it will be useful,
21
 but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 GNU General Public License for more details.
24

  
25
 You should have received a copy of the GNU General Public License
26
 along with GLPI. If not, see <http://www.gnu.org/licenses/>.
27
 --------------------------------------------------------------------------
28
 */
29

  
30
/** @file
31
* @brief
32
*/
33

  
34
if (!defined('GLPI_ROOT')) {
35
   die("Sorry. You can't access directly to this file");
36
}
37

  
38
/// Class SLA_User
39
/// since version 0.86
40
class SLA_User extends CommonDBRelation {
41

  
42
   // From CommonDBRelation
43
   static public $itemtype_1          = 'SLA';
44
   static public $items_id_1          = 'sla_id';
45
   static public $itemtype_2          = 'User';
46
   static public $items_id_2          = 'users_id';
47

  
48
   static public $checkItem_2_Rights  = self::DONT_CHECK_ITEM_RIGHTS;
49
   static public $logs_for_item_2     = false;
50

  
51

  
52
   /**
53
    * Get users for a SLA
54
    *
55
    * @param $slas_id ID of the SLA
56
    *
57
    * @return array of users linked to a SLA
58
   **/
59
   static function getUsers($slas_id) {
60
      global $DB;
61

  
62
      $users = array();
63
      $query = "SELECT `glpi_slas_users`.*
64
                FROM `glpi_slas_users`
65
                WHERE `slas_id` = '$slas_id'";
66

  
67
      foreach ($DB->request($query) as $data) {
68
         $users[$data['users_id']][] = $data;
69
      }
70
      return $users;
71
   }
72

  
73
}
74
?>
install/mysql/glpi-0.86-empty.sql
1
#GLPI Dump database on 2014-04-16 16:48
2

  
3
### Dump table glpi_alerts
4

  
5
DROP TABLE IF EXISTS `glpi_alerts`;
6
CREATE TABLE `glpi_alerts` (
7
  `id` int(11) NOT NULL AUTO_INCREMENT,
8
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
9
  `items_id` int(11) NOT NULL DEFAULT '0',
10
  `type` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php ALERT_* constant',
11
  `date` datetime NOT NULL,
12
  PRIMARY KEY (`id`),
13
  UNIQUE KEY `unicity` (`itemtype`,`items_id`,`type`),
14
  KEY `type` (`type`),
15
  KEY `date` (`date`)
16
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
17

  
18

  
19
### Dump table glpi_authldapreplicates
20

  
21
DROP TABLE IF EXISTS `glpi_authldapreplicates`;
22
CREATE TABLE `glpi_authldapreplicates` (
23
  `id` int(11) NOT NULL AUTO_INCREMENT,
24
  `authldaps_id` int(11) NOT NULL DEFAULT '0',
25
  `host` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
26
  `port` int(11) NOT NULL DEFAULT '389',
27
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
28
  PRIMARY KEY (`id`),
29
  KEY `authldaps_id` (`authldaps_id`)
30
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
31

  
32

  
33
### Dump table glpi_authldaps
34

  
35
DROP TABLE IF EXISTS `glpi_authldaps`;
36
CREATE TABLE `glpi_authldaps` (
37
  `id` int(11) NOT NULL AUTO_INCREMENT,
38
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
39
  `host` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
40
  `basedn` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
41
  `rootdn` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
42
  `port` int(11) NOT NULL DEFAULT '389',
43
  `condition` text COLLATE utf8_unicode_ci,
44
  `login_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'uid',
45
  `use_tls` tinyint(1) NOT NULL DEFAULT '0',
46
  `group_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
47
  `group_condition` text COLLATE utf8_unicode_ci,
48
  `group_search_type` int(11) NOT NULL DEFAULT '0',
49
  `group_member_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
50
  `email1_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
51
  `realname_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
52
  `firstname_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
53
  `phone_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
54
  `phone2_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
55
  `mobile_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
56
  `comment_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
57
  `use_dn` tinyint(1) NOT NULL DEFAULT '1',
58
  `time_offset` int(11) NOT NULL DEFAULT '0' COMMENT 'in seconds',
59
  `deref_option` int(11) NOT NULL DEFAULT '0',
60
  `title_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
61
  `category_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
62
  `language_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
63
  `entity_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
64
  `entity_condition` text COLLATE utf8_unicode_ci,
65
  `date_mod` datetime DEFAULT NULL,
66
  `comment` text COLLATE utf8_unicode_ci,
67
  `is_default` tinyint(1) NOT NULL DEFAULT '0',
68
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
69
  `rootdn_passwd` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
70
  `registration_number_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
71
  `email2_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
72
  `email3_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
73
  `email4_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
74
  `pagesize` int(11) NOT NULL DEFAULT '0',
75
  `ldap_maxlimit` int(11) NOT NULL DEFAULT '0',
76
  `can_support_pagesize` tinyint(1) NOT NULL DEFAULT '0',
77
  `picture_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
78
  PRIMARY KEY (`id`),
79
  KEY `date_mod` (`date_mod`),
80
  KEY `is_default` (`is_default`),
81
  KEY `is_active` (`is_active`)
82
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
83

  
84

  
85
### Dump table glpi_authmails
86

  
87
DROP TABLE IF EXISTS `glpi_authmails`;
88
CREATE TABLE `glpi_authmails` (
89
  `id` int(11) NOT NULL AUTO_INCREMENT,
90
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
91
  `connect_string` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
92
  `host` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
93
  `date_mod` datetime DEFAULT NULL,
94
  `comment` text COLLATE utf8_unicode_ci,
95
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
96
  PRIMARY KEY (`id`),
97
  KEY `date_mod` (`date_mod`),
98
  KEY `is_active` (`is_active`)
99
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
100

  
101

  
102
### Dump table glpi_autoupdatesystems
103

  
104
DROP TABLE IF EXISTS `glpi_autoupdatesystems`;
105
CREATE TABLE `glpi_autoupdatesystems` (
106
  `id` int(11) NOT NULL AUTO_INCREMENT,
107
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
108
  `comment` text COLLATE utf8_unicode_ci,
109
  PRIMARY KEY (`id`),
110
  KEY `name` (`name`)
111
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
112

  
113

  
114
### Dump table glpi_blacklistedmailcontents
115

  
116
DROP TABLE IF EXISTS `glpi_blacklistedmailcontents`;
117
CREATE TABLE `glpi_blacklistedmailcontents` (
118
  `id` int(11) NOT NULL AUTO_INCREMENT,
119
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
120
  `content` text COLLATE utf8_unicode_ci,
121
  `comment` text COLLATE utf8_unicode_ci,
122
  PRIMARY KEY (`id`)
123
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
124

  
125

  
126
### Dump table glpi_blacklists
127

  
128
DROP TABLE IF EXISTS `glpi_blacklists`;
129
CREATE TABLE `glpi_blacklists` (
130
  `id` int(11) NOT NULL AUTO_INCREMENT,
131
  `type` int(11) NOT NULL DEFAULT '0',
132
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
133
  `value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
134
  `comment` text COLLATE utf8_unicode_ci,
135
  PRIMARY KEY (`id`),
136
  KEY `type` (`type`),
137
  KEY `name` (`name`)
138
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
139

  
140
INSERT INTO `glpi_blacklists` VALUES ('1','1','empty IP','',NULL);
141
INSERT INTO `glpi_blacklists` VALUES ('2','1','localhost','127.0.0.1',NULL);
142
INSERT INTO `glpi_blacklists` VALUES ('3','1','zero IP','0.0.0.0',NULL);
143
INSERT INTO `glpi_blacklists` VALUES ('4','2','empty MAC','',NULL);
144

  
145
### Dump table glpi_bookmarks
146

  
147
DROP TABLE IF EXISTS `glpi_bookmarks`;
148
CREATE TABLE `glpi_bookmarks` (
149
  `id` int(11) NOT NULL AUTO_INCREMENT,
150
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
151
  `type` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php BOOKMARK_* constant',
152
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
153
  `users_id` int(11) NOT NULL DEFAULT '0',
154
  `is_private` tinyint(1) NOT NULL DEFAULT '1',
155
  `entities_id` int(11) NOT NULL DEFAULT '-1',
156
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
157
  `path` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
158
  `query` text COLLATE utf8_unicode_ci,
159
  PRIMARY KEY (`id`),
160
  KEY `type` (`type`),
161
  KEY `itemtype` (`itemtype`),
162
  KEY `entities_id` (`entities_id`),
163
  KEY `users_id` (`users_id`),
164
  KEY `is_private` (`is_private`),
165
  KEY `is_recursive` (`is_recursive`)
166
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
167

  
168

  
169
### Dump table glpi_bookmarks_users
170

  
171
DROP TABLE IF EXISTS `glpi_bookmarks_users`;
172
CREATE TABLE `glpi_bookmarks_users` (
173
  `id` int(11) NOT NULL AUTO_INCREMENT,
174
  `users_id` int(11) NOT NULL DEFAULT '0',
175
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
176
  `bookmarks_id` int(11) NOT NULL DEFAULT '0',
177
  PRIMARY KEY (`id`),
178
  UNIQUE KEY `unicity` (`users_id`,`itemtype`),
179
  KEY `bookmarks_id` (`bookmarks_id`)
180
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
181

  
182

  
183
### Dump table glpi_budgets
184

  
185
DROP TABLE IF EXISTS `glpi_budgets`;
186
CREATE TABLE `glpi_budgets` (
187
  `id` int(11) NOT NULL AUTO_INCREMENT,
188
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
189
  `entities_id` int(11) NOT NULL DEFAULT '0',
190
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
191
  `comment` text COLLATE utf8_unicode_ci,
192
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
193
  `begin_date` date DEFAULT NULL,
194
  `end_date` date DEFAULT NULL,
195
  `value` decimal(20,4) NOT NULL DEFAULT '0.0000',
196
  `is_template` tinyint(1) NOT NULL DEFAULT '0',
197
  `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
198
  `date_mod` datetime DEFAULT NULL,
199
  PRIMARY KEY (`id`),
200
  KEY `name` (`name`),
201
  KEY `is_recursive` (`is_recursive`),
202
  KEY `entities_id` (`entities_id`),
203
  KEY `is_deleted` (`is_deleted`),
204
  KEY `begin_date` (`begin_date`),
205
  KEY `is_template` (`is_template`),
206
  KEY `date_mod` (`date_mod`),
207
  KEY `end_date` (`end_date`)
208
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
209

  
210

  
211
### Dump table glpi_calendars
212

  
213
DROP TABLE IF EXISTS `glpi_calendars`;
214
CREATE TABLE `glpi_calendars` (
215
  `id` int(11) NOT NULL AUTO_INCREMENT,
216
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
217
  `entities_id` int(11) NOT NULL DEFAULT '0',
218
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
219
  `comment` text COLLATE utf8_unicode_ci,
220
  `date_mod` datetime DEFAULT NULL,
221
  `cache_duration` text COLLATE utf8_unicode_ci,
222
  PRIMARY KEY (`id`),
223
  KEY `name` (`name`),
224
  KEY `entities_id` (`entities_id`),
225
  KEY `is_recursive` (`is_recursive`),
226
  KEY `date_mod` (`date_mod`)
227
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
228

  
229
INSERT INTO `glpi_calendars` VALUES ('1','Default','0','1','Default calendar',NULL,'[0,43200,43200,43200,43200,43200,0]');
230

  
231
### Dump table glpi_calendars_holidays
232

  
233
DROP TABLE IF EXISTS `glpi_calendars_holidays`;
234
CREATE TABLE `glpi_calendars_holidays` (
235
  `id` int(11) NOT NULL AUTO_INCREMENT,
236
  `calendars_id` int(11) NOT NULL DEFAULT '0',
237
  `holidays_id` int(11) NOT NULL DEFAULT '0',
238
  PRIMARY KEY (`id`),
239
  UNIQUE KEY `unicity` (`calendars_id`,`holidays_id`),
240
  KEY `holidays_id` (`holidays_id`)
241
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
242

  
243

  
244
### Dump table glpi_calendarsegments
245

  
246
DROP TABLE IF EXISTS `glpi_calendarsegments`;
247
CREATE TABLE `glpi_calendarsegments` (
248
  `id` int(11) NOT NULL AUTO_INCREMENT,
249
  `calendars_id` int(11) NOT NULL DEFAULT '0',
250
  `entities_id` int(11) NOT NULL DEFAULT '0',
251
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
252
  `day` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'numer of the day based on date(w)',
253
  `begin` time DEFAULT NULL,
254
  `end` time DEFAULT NULL,
255
  PRIMARY KEY (`id`),
256
  KEY `calendars_id` (`calendars_id`),
257
  KEY `day` (`day`)
258
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
259

  
260
INSERT INTO `glpi_calendarsegments` VALUES ('1','1','0','0','1','08:00:00','20:00:00');
261
INSERT INTO `glpi_calendarsegments` VALUES ('2','1','0','0','2','08:00:00','20:00:00');
262
INSERT INTO `glpi_calendarsegments` VALUES ('3','1','0','0','3','08:00:00','20:00:00');
263
INSERT INTO `glpi_calendarsegments` VALUES ('4','1','0','0','4','08:00:00','20:00:00');
264
INSERT INTO `glpi_calendarsegments` VALUES ('5','1','0','0','5','08:00:00','20:00:00');
265

  
266
### Dump table glpi_cartridgeitems
267

  
268
DROP TABLE IF EXISTS `glpi_cartridgeitems`;
269
CREATE TABLE `glpi_cartridgeitems` (
270
  `id` int(11) NOT NULL AUTO_INCREMENT,
271
  `entities_id` int(11) NOT NULL DEFAULT '0',
272
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
273
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
274
  `ref` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
275
  `locations_id` int(11) NOT NULL DEFAULT '0',
276
  `cartridgeitemtypes_id` int(11) NOT NULL DEFAULT '0',
277
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
278
  `users_id_tech` int(11) NOT NULL DEFAULT '0',
279
  `groups_id_tech` int(11) NOT NULL DEFAULT '0',
280
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
281
  `comment` text COLLATE utf8_unicode_ci,
282
  `alarm_threshold` int(11) NOT NULL DEFAULT '10',
283
  PRIMARY KEY (`id`),
284
  KEY `name` (`name`),
285
  KEY `entities_id` (`entities_id`),
286
  KEY `manufacturers_id` (`manufacturers_id`),
287
  KEY `locations_id` (`locations_id`),
288
  KEY `users_id_tech` (`users_id_tech`),
289
  KEY `cartridgeitemtypes_id` (`cartridgeitemtypes_id`),
290
  KEY `is_deleted` (`is_deleted`),
291
  KEY `alarm_threshold` (`alarm_threshold`),
292
  KEY `groups_id_tech` (`groups_id_tech`)
293
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
294

  
295

  
296
### Dump table glpi_cartridgeitems_printermodels
297

  
298
DROP TABLE IF EXISTS `glpi_cartridgeitems_printermodels`;
299
CREATE TABLE `glpi_cartridgeitems_printermodels` (
300
  `id` int(11) NOT NULL AUTO_INCREMENT,
301
  `cartridgeitems_id` int(11) NOT NULL DEFAULT '0',
302
  `printermodels_id` int(11) NOT NULL DEFAULT '0',
303
  PRIMARY KEY (`id`),
304
  UNIQUE KEY `unicity` (`printermodels_id`,`cartridgeitems_id`),
305
  KEY `cartridgeitems_id` (`cartridgeitems_id`)
306
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
307

  
308

  
309
### Dump table glpi_cartridgeitemtypes
310

  
311
DROP TABLE IF EXISTS `glpi_cartridgeitemtypes`;
312
CREATE TABLE `glpi_cartridgeitemtypes` (
313
  `id` int(11) NOT NULL AUTO_INCREMENT,
314
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
315
  `comment` text COLLATE utf8_unicode_ci,
316
  PRIMARY KEY (`id`),
317
  KEY `name` (`name`)
318
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
319

  
320

  
321
### Dump table glpi_cartridges
322

  
323
DROP TABLE IF EXISTS `glpi_cartridges`;
324
CREATE TABLE `glpi_cartridges` (
325
  `id` int(11) NOT NULL AUTO_INCREMENT,
326
  `entities_id` int(11) NOT NULL DEFAULT '0',
327
  `cartridgeitems_id` int(11) NOT NULL DEFAULT '0',
328
  `printers_id` int(11) NOT NULL DEFAULT '0',
329
  `date_in` date DEFAULT NULL,
330
  `date_use` date DEFAULT NULL,
331
  `date_out` date DEFAULT NULL,
332
  `pages` int(11) NOT NULL DEFAULT '0',
333
  PRIMARY KEY (`id`),
334
  KEY `cartridgeitems_id` (`cartridgeitems_id`),
335
  KEY `printers_id` (`printers_id`),
336
  KEY `entities_id` (`entities_id`)
337
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
338

  
339

  
340
### Dump table glpi_changecosts
341

  
342
DROP TABLE IF EXISTS `glpi_changecosts`;
343
CREATE TABLE `glpi_changecosts` (
344
  `id` int(11) NOT NULL AUTO_INCREMENT,
345
  `changes_id` int(11) NOT NULL DEFAULT '0',
346
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
347
  `comment` text COLLATE utf8_unicode_ci,
348
  `begin_date` date DEFAULT NULL,
349
  `end_date` date DEFAULT NULL,
350
  `actiontime` int(11) NOT NULL DEFAULT '0',
351
  `cost_time` decimal(20,4) NOT NULL DEFAULT '0.0000',
352
  `cost_fixed` decimal(20,4) NOT NULL DEFAULT '0.0000',
353
  `cost_material` decimal(20,4) NOT NULL DEFAULT '0.0000',
354
  `budgets_id` int(11) NOT NULL DEFAULT '0',
355
  `entities_id` int(11) NOT NULL DEFAULT '0',
356
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
357
  PRIMARY KEY (`id`),
358
  KEY `name` (`name`),
359
  KEY `changes_id` (`changes_id`),
360
  KEY `begin_date` (`begin_date`),
361
  KEY `end_date` (`end_date`),
362
  KEY `entities_id` (`entities_id`),
363
  KEY `is_recursive` (`is_recursive`),
364
  KEY `budgets_id` (`budgets_id`)
365
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
366

  
367

  
368
### Dump table glpi_changes
369

  
370
DROP TABLE IF EXISTS `glpi_changes`;
371
CREATE TABLE `glpi_changes` (
372
  `id` int(11) NOT NULL AUTO_INCREMENT,
373
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
374
  `entities_id` int(11) NOT NULL DEFAULT '0',
375
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
376
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
377
  `status` int(11) NOT NULL DEFAULT '1',
378
  `content` longtext COLLATE utf8_unicode_ci,
379
  `date_mod` datetime DEFAULT NULL,
380
  `date` datetime DEFAULT NULL,
381
  `solvedate` datetime DEFAULT NULL,
382
  `closedate` datetime DEFAULT NULL,
383
  `due_date` datetime DEFAULT NULL,
384
  `users_id_recipient` int(11) NOT NULL DEFAULT '0',
385
  `users_id_lastupdater` int(11) NOT NULL DEFAULT '0',
386
  `urgency` int(11) NOT NULL DEFAULT '1',
387
  `impact` int(11) NOT NULL DEFAULT '1',
388
  `priority` int(11) NOT NULL DEFAULT '1',
389
  `itilcategories_id` int(11) NOT NULL DEFAULT '0',
390
  `impactcontent` longtext COLLATE utf8_unicode_ci,
391
  `controlistcontent` longtext COLLATE utf8_unicode_ci,
392
  `rolloutplancontent` longtext COLLATE utf8_unicode_ci,
393
  `backoutplancontent` longtext COLLATE utf8_unicode_ci,
394
  `checklistcontent` longtext COLLATE utf8_unicode_ci,
395
  `global_validation` int(11) NOT NULL DEFAULT '1',
396
  `validation_percent` int(11) NOT NULL DEFAULT '0',
397
  `solutiontypes_id` int(11) NOT NULL DEFAULT '0',
398
  `solution` text COLLATE utf8_unicode_ci,
399
  `actiontime` int(11) NOT NULL DEFAULT '0',
400
  `begin_waiting_date` datetime DEFAULT NULL,
401
  `waiting_duration` int(11) NOT NULL DEFAULT '0',
402
  `close_delay_stat` int(11) NOT NULL DEFAULT '0',
403
  `solve_delay_stat` int(11) NOT NULL DEFAULT '0',
404
  PRIMARY KEY (`id`),
405
  KEY `name` (`name`),
406
  KEY `entities_id` (`entities_id`),
407
  KEY `is_recursive` (`is_recursive`),
408
  KEY `is_deleted` (`is_deleted`),
409
  KEY `date` (`date`),
410
  KEY `closedate` (`closedate`),
411
  KEY `status` (`status`),
412
  KEY `priority` (`priority`),
413
  KEY `date_mod` (`date_mod`),
414
  KEY `itilcategories_id` (`itilcategories_id`),
415
  KEY `users_id_recipient` (`users_id_recipient`),
416
  KEY `solvedate` (`solvedate`),
417
  KEY `solutiontypes_id` (`solutiontypes_id`),
418
  KEY `urgency` (`urgency`),
419
  KEY `impact` (`impact`),
420
  KEY `due_date` (`due_date`),
421
  KEY `global_validation` (`global_validation`),
422
  KEY `users_id_lastupdater` (`users_id_lastupdater`)
423
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
424

  
425

  
426
### Dump table glpi_changes_groups
427

  
428
DROP TABLE IF EXISTS `glpi_changes_groups`;
429
CREATE TABLE `glpi_changes_groups` (
430
  `id` int(11) NOT NULL AUTO_INCREMENT,
431
  `changes_id` int(11) NOT NULL DEFAULT '0',
432
  `groups_id` int(11) NOT NULL DEFAULT '0',
433
  `type` int(11) NOT NULL DEFAULT '1',
434
  PRIMARY KEY (`id`),
435
  UNIQUE KEY `unicity` (`changes_id`,`type`,`groups_id`),
436
  KEY `group` (`groups_id`,`type`)
437
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
438

  
439

  
440
### Dump table glpi_changes_items
441

  
442
DROP TABLE IF EXISTS `glpi_changes_items`;
443
CREATE TABLE `glpi_changes_items` (
444
  `id` int(11) NOT NULL AUTO_INCREMENT,
445
  `changes_id` int(11) NOT NULL DEFAULT '0',
446
  `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
447
  `items_id` int(11) NOT NULL DEFAULT '0',
448
  PRIMARY KEY (`id`),
449
  UNIQUE KEY `unicity` (`changes_id`,`itemtype`,`items_id`),
450
  KEY `item` (`itemtype`,`items_id`)
451
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
452

  
453

  
454
### Dump table glpi_changes_problems
455

  
456
DROP TABLE IF EXISTS `glpi_changes_problems`;
457
CREATE TABLE `glpi_changes_problems` (
458
  `id` int(11) NOT NULL AUTO_INCREMENT,
459
  `changes_id` int(11) NOT NULL DEFAULT '0',
460
  `problems_id` int(11) NOT NULL DEFAULT '0',
461
  PRIMARY KEY (`id`),
462
  UNIQUE KEY `unicity` (`changes_id`,`problems_id`),
463
  KEY `problems_id` (`problems_id`)
464
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
465

  
466

  
467
### Dump table glpi_changes_projects
468

  
469
DROP TABLE IF EXISTS `glpi_changes_projects`;
470
CREATE TABLE `glpi_changes_projects` (
471
  `id` int(11) NOT NULL AUTO_INCREMENT,
472
  `changes_id` int(11) NOT NULL DEFAULT '0',
473
  `projects_id` int(11) NOT NULL DEFAULT '0',
474
  PRIMARY KEY (`id`),
475
  UNIQUE KEY `unicity` (`changes_id`,`projects_id`),
476
  KEY `projects_id` (`projects_id`)
477
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
478

  
479

  
480
### Dump table glpi_changes_suppliers
481

  
482
DROP TABLE IF EXISTS `glpi_changes_suppliers`;
483
CREATE TABLE `glpi_changes_suppliers` (
484
  `id` int(11) NOT NULL AUTO_INCREMENT,
485
  `changes_id` int(11) NOT NULL DEFAULT '0',
486
  `suppliers_id` int(11) NOT NULL DEFAULT '0',
487
  `type` int(11) NOT NULL DEFAULT '1',
488
  `use_notification` tinyint(1) NOT NULL DEFAULT '0',
489
  `alternative_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
490
  PRIMARY KEY (`id`),
491
  UNIQUE KEY `unicity` (`changes_id`,`type`,`suppliers_id`),
492
  KEY `group` (`suppliers_id`,`type`)
493
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
494

  
495

  
496
### Dump table glpi_changes_tickets
497

  
498
DROP TABLE IF EXISTS `glpi_changes_tickets`;
499
CREATE TABLE `glpi_changes_tickets` (
500
  `id` int(11) NOT NULL AUTO_INCREMENT,
501
  `changes_id` int(11) NOT NULL DEFAULT '0',
502
  `tickets_id` int(11) NOT NULL DEFAULT '0',
503
  PRIMARY KEY (`id`),
504
  UNIQUE KEY `unicity` (`changes_id`,`tickets_id`),
505
  KEY `tickets_id` (`tickets_id`)
506
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
507

  
508

  
509
### Dump table glpi_changes_users
510

  
511
DROP TABLE IF EXISTS `glpi_changes_users`;
512
CREATE TABLE `glpi_changes_users` (
513
  `id` int(11) NOT NULL AUTO_INCREMENT,
514
  `changes_id` int(11) NOT NULL DEFAULT '0',
515
  `users_id` int(11) NOT NULL DEFAULT '0',
516
  `type` int(11) NOT NULL DEFAULT '1',
517
  `use_notification` tinyint(1) NOT NULL DEFAULT '0',
518
  `alternative_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
519
  PRIMARY KEY (`id`),
520
  UNIQUE KEY `unicity` (`changes_id`,`type`,`users_id`,`alternative_email`),
521
  KEY `user` (`users_id`,`type`)
522
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
523

  
524

  
525
### Dump table glpi_changetasks
526

  
527
DROP TABLE IF EXISTS `glpi_changetasks`;
528
CREATE TABLE `glpi_changetasks` (
529
  `id` int(11) NOT NULL AUTO_INCREMENT,
530
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
531
  `changes_id` int(11) NOT NULL DEFAULT '0',
532
  `changetasks_id` int(11) NOT NULL DEFAULT '0',
533
  `is_blocked` tinyint(1) NOT NULL DEFAULT '0',
534
  `taskcategories_id` int(11) NOT NULL DEFAULT '0',
535
  `status` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
536
  `priority` int(11) NOT NULL DEFAULT '1',
537
  `percentdone` int(11) NOT NULL DEFAULT '0',
538
  `date` datetime DEFAULT NULL,
539
  `begin` datetime DEFAULT NULL,
540
  `end` datetime DEFAULT NULL,
541
  `users_id` int(11) NOT NULL DEFAULT '0',
542
  `users_id_tech` int(11) NOT NULL DEFAULT '0',
543
  `content` longtext COLLATE utf8_unicode_ci,
544
  `actiontime` int(11) NOT NULL DEFAULT '0',
545
  PRIMARY KEY (`id`),
546
  KEY `name` (`name`),
547
  KEY `changes_id` (`changes_id`),
548
  KEY `changetasks_id` (`changetasks_id`),
549
  KEY `is_blocked` (`is_blocked`),
550
  KEY `priority` (`priority`),
551
  KEY `status` (`status`),
552
  KEY `percentdone` (`percentdone`),
553
  KEY `users_id` (`users_id`),
554
  KEY `users_id_tech` (`users_id_tech`),
555
  KEY `date` (`date`),
556
  KEY `begin` (`begin`),
557
  KEY `end` (`end`),
558
  KEY `taskcategories_id` (`taskcategories_id`)
559
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
560

  
561

  
562
### Dump table glpi_changevalidations
563

  
564
DROP TABLE IF EXISTS `glpi_changevalidations`;
565
CREATE TABLE `glpi_changevalidations` (
566
  `id` int(11) NOT NULL AUTO_INCREMENT,
567
  `entities_id` int(11) NOT NULL DEFAULT '0',
568
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
569
  `users_id` int(11) NOT NULL DEFAULT '0',
570
  `changes_id` int(11) NOT NULL DEFAULT '0',
571
  `users_id_validate` int(11) NOT NULL DEFAULT '0',
572
  `comment_submission` text COLLATE utf8_unicode_ci,
573
  `comment_validation` text COLLATE utf8_unicode_ci,
574
  `status` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'waiting',
575
  `submission_date` datetime DEFAULT NULL,
576
  `validation_date` datetime DEFAULT NULL,
577
  PRIMARY KEY (`id`),
578
  KEY `entities_id` (`entities_id`),
579
  KEY `is_recursive` (`is_recursive`),
580
  KEY `users_id` (`users_id`),
581
  KEY `users_id_validate` (`users_id_validate`),
582
  KEY `changes_id` (`changes_id`),
583
  KEY `submission_date` (`submission_date`),
584
  KEY `validation_date` (`validation_date`),
585
  KEY `status` (`status`)
586
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
587

  
588

  
589
### Dump table glpi_computerdisks
590

  
591
DROP TABLE IF EXISTS `glpi_computerdisks`;
592
CREATE TABLE `glpi_computerdisks` (
593
  `id` int(11) NOT NULL AUTO_INCREMENT,
594
  `entities_id` int(11) NOT NULL DEFAULT '0',
595
  `computers_id` int(11) NOT NULL DEFAULT '0',
596
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
597
  `device` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
598
  `mountpoint` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
599
  `filesystems_id` int(11) NOT NULL DEFAULT '0',
600
  `totalsize` int(11) NOT NULL DEFAULT '0',
601
  `freesize` int(11) NOT NULL DEFAULT '0',
602
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
603
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
604
  PRIMARY KEY (`id`),
605
  KEY `name` (`name`),
606
  KEY `device` (`device`),
607
  KEY `mountpoint` (`mountpoint`),
608
  KEY `totalsize` (`totalsize`),
609
  KEY `freesize` (`freesize`),
610
  KEY `computers_id` (`computers_id`),
611
  KEY `filesystems_id` (`filesystems_id`),
612
  KEY `entities_id` (`entities_id`),
613
  KEY `is_deleted` (`is_deleted`),
614
  KEY `is_dynamic` (`is_dynamic`)
615
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
616

  
617

  
618
### Dump table glpi_computermodels
619

  
620
DROP TABLE IF EXISTS `glpi_computermodels`;
621
CREATE TABLE `glpi_computermodels` (
622
  `id` int(11) NOT NULL AUTO_INCREMENT,
623
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
624
  `comment` text COLLATE utf8_unicode_ci,
625
  PRIMARY KEY (`id`),
626
  KEY `name` (`name`)
627
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
628

  
629

  
630
### Dump table glpi_computers
631

  
632
DROP TABLE IF EXISTS `glpi_computers`;
633
CREATE TABLE `glpi_computers` (
634
  `id` int(11) NOT NULL AUTO_INCREMENT,
635
  `entities_id` int(11) NOT NULL DEFAULT '0',
636
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
637
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
638
  `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
639
  `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
640
  `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
641
  `users_id_tech` int(11) NOT NULL DEFAULT '0',
642
  `groups_id_tech` int(11) NOT NULL DEFAULT '0',
643
  `comment` text COLLATE utf8_unicode_ci,
644
  `date_mod` datetime DEFAULT NULL,
645
  `operatingsystems_id` int(11) NOT NULL DEFAULT '0',
646
  `operatingsystemversions_id` int(11) NOT NULL DEFAULT '0',
647
  `operatingsystemservicepacks_id` int(11) NOT NULL DEFAULT '0',
648
  `os_license_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
649
  `os_licenseid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
650
  `autoupdatesystems_id` int(11) NOT NULL DEFAULT '0',
651
  `locations_id` int(11) NOT NULL DEFAULT '0',
652
  `domains_id` int(11) NOT NULL DEFAULT '0',
653
  `networks_id` int(11) NOT NULL DEFAULT '0',
654
  `computermodels_id` int(11) NOT NULL DEFAULT '0',
655
  `computertypes_id` int(11) NOT NULL DEFAULT '0',
656
  `is_template` tinyint(1) NOT NULL DEFAULT '0',
657
  `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
658
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
659
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
660
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
661
  `users_id` int(11) NOT NULL DEFAULT '0',
662
  `groups_id` int(11) NOT NULL DEFAULT '0',
663
  `states_id` int(11) NOT NULL DEFAULT '0',
664
  `ticket_tco` decimal(20,4) DEFAULT '0.0000',
665
  `uuid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
666
  PRIMARY KEY (`id`),
667
  KEY `date_mod` (`date_mod`),
668
  KEY `name` (`name`),
669
  KEY `is_template` (`is_template`),
670
  KEY `autoupdatesystems_id` (`autoupdatesystems_id`),
671
  KEY `domains_id` (`domains_id`),
672
  KEY `entities_id` (`entities_id`),
673
  KEY `manufacturers_id` (`manufacturers_id`),
674
  KEY `groups_id` (`groups_id`),
675
  KEY `users_id` (`users_id`),
676
  KEY `locations_id` (`locations_id`),
677
  KEY `computermodels_id` (`computermodels_id`),
678
  KEY `networks_id` (`networks_id`),
679
  KEY `operatingsystems_id` (`operatingsystems_id`),
680
  KEY `operatingsystemservicepacks_id` (`operatingsystemservicepacks_id`),
681
  KEY `operatingsystemversions_id` (`operatingsystemversions_id`),
682
  KEY `states_id` (`states_id`),
683
  KEY `users_id_tech` (`users_id_tech`),
684
  KEY `computertypes_id` (`computertypes_id`),
685
  KEY `is_deleted` (`is_deleted`),
686
  KEY `groups_id_tech` (`groups_id_tech`),
687
  KEY `is_dynamic` (`is_dynamic`),
688
  KEY `serial` (`serial`),
689
  KEY `otherserial` (`otherserial`),
690
  KEY `uuid` (`uuid`)
691
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
692

  
693

  
694
### Dump table glpi_computers_items
695

  
696
DROP TABLE IF EXISTS `glpi_computers_items`;
697
CREATE TABLE `glpi_computers_items` (
698
  `id` int(11) NOT NULL AUTO_INCREMENT,
699
  `items_id` int(11) NOT NULL DEFAULT '0' COMMENT 'RELATION to various table, according to itemtype (ID)',
700
  `computers_id` int(11) NOT NULL DEFAULT '0',
701
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
702
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
703
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
704
  PRIMARY KEY (`id`),
705
  KEY `computers_id` (`computers_id`),
706
  KEY `item` (`itemtype`,`items_id`),
707
  KEY `is_deleted` (`is_deleted`),
708
  KEY `is_dynamic` (`is_dynamic`)
709
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
710

  
711

  
712
### Dump table glpi_computers_softwarelicenses
713

  
714
DROP TABLE IF EXISTS `glpi_computers_softwarelicenses`;
715
CREATE TABLE `glpi_computers_softwarelicenses` (
716
  `id` int(11) NOT NULL AUTO_INCREMENT,
717
  `computers_id` int(11) NOT NULL DEFAULT '0',
718
  `softwarelicenses_id` int(11) NOT NULL DEFAULT '0',
719
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
720
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
721
  PRIMARY KEY (`id`),
722
  UNIQUE KEY `unicity` (`computers_id`,`softwarelicenses_id`),
723
  KEY `computers_id` (`computers_id`),
724
  KEY `softwarelicenses_id` (`softwarelicenses_id`),
725
  KEY `is_deleted` (`is_deleted`),
726
  KEY `is_dynamic` (`is_dynamic`)
727
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
728

  
729

  
730
### Dump table glpi_computers_softwareversions
731

  
732
DROP TABLE IF EXISTS `glpi_computers_softwareversions`;
733
CREATE TABLE `glpi_computers_softwareversions` (
734
  `id` int(11) NOT NULL AUTO_INCREMENT,
735
  `computers_id` int(11) NOT NULL DEFAULT '0',
736
  `softwareversions_id` int(11) NOT NULL DEFAULT '0',
737
  `is_deleted_computer` tinyint(1) NOT NULL DEFAULT '0',
738
  `is_template_computer` tinyint(1) NOT NULL DEFAULT '0',
739
  `entities_id` int(11) NOT NULL DEFAULT '0',
740
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
741
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
742
  PRIMARY KEY (`id`),
743
  UNIQUE KEY `unicity` (`computers_id`,`softwareversions_id`),
744
  KEY `softwareversions_id` (`softwareversions_id`),
745
  KEY `computers_info` (`entities_id`,`is_template_computer`,`is_deleted_computer`),
746
  KEY `is_template` (`is_template_computer`),
747
  KEY `is_deleted` (`is_deleted_computer`),
748
  KEY `is_dynamic` (`is_dynamic`)
749
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
750

  
751

  
752
### Dump table glpi_computertypes
753

  
754
DROP TABLE IF EXISTS `glpi_computertypes`;
755
CREATE TABLE `glpi_computertypes` (
756
  `id` int(11) NOT NULL AUTO_INCREMENT,
757
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
758
  `comment` text COLLATE utf8_unicode_ci,
759
  PRIMARY KEY (`id`),
760
  KEY `name` (`name`)
761
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
762

  
763

  
764
### Dump table glpi_computervirtualmachines
765

  
766
DROP TABLE IF EXISTS `glpi_computervirtualmachines`;
767
CREATE TABLE `glpi_computervirtualmachines` (
768
  `id` int(11) NOT NULL AUTO_INCREMENT,
769
  `entities_id` int(11) NOT NULL DEFAULT '0',
770
  `computers_id` int(11) NOT NULL DEFAULT '0',
771
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
772
  `virtualmachinestates_id` int(11) NOT NULL DEFAULT '0',
773
  `virtualmachinesystems_id` int(11) NOT NULL DEFAULT '0',
774
  `virtualmachinetypes_id` int(11) NOT NULL DEFAULT '0',
775
  `uuid` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
776
  `vcpu` int(11) NOT NULL DEFAULT '0',
777
  `ram` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
778
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
779
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
780
  `comment` text COLLATE utf8_unicode_ci,
781
  PRIMARY KEY (`id`),
782
  KEY `computers_id` (`computers_id`),
783
  KEY `entities_id` (`entities_id`),
784
  KEY `name` (`name`),
785
  KEY `virtualmachinestates_id` (`virtualmachinestates_id`),
786
  KEY `virtualmachinesystems_id` (`virtualmachinesystems_id`),
787
  KEY `vcpu` (`vcpu`),
788
  KEY `ram` (`ram`),
789
  KEY `is_deleted` (`is_deleted`),
790
  KEY `is_dynamic` (`is_dynamic`),
791
  KEY `uuid` (`uuid`)
792
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
793

  
794

  
795
### Dump table glpi_configs
796

  
797
DROP TABLE IF EXISTS `glpi_configs`;
798
CREATE TABLE `glpi_configs` (
799
  `id` int(11) NOT NULL AUTO_INCREMENT,
800
  `context` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
801
  `name` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
802
  `value` text COLLATE utf8_unicode_ci,
803
  PRIMARY KEY (`id`),
804
  UNIQUE KEY `unicity` (`context`,`name`)
805
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
806

  
807
INSERT INTO `glpi_configs` VALUES ('1','core','version','0.85');
808
INSERT INTO `glpi_configs` VALUES ('2','core','show_jobs_at_login','0');
809
INSERT INTO `glpi_configs` VALUES ('3','core','cut','250');
810
INSERT INTO `glpi_configs` VALUES ('4','core','list_limit','15');
811
INSERT INTO `glpi_configs` VALUES ('5','core','list_limit_max','50');
812
INSERT INTO `glpi_configs` VALUES ('6','core','url_maxlength','30');
813
INSERT INTO `glpi_configs` VALUES ('7','core','event_loglevel','5');
814
INSERT INTO `glpi_configs` VALUES ('8','core','use_mailing','0');
815
INSERT INTO `glpi_configs` VALUES ('9','core','admin_email','admsys@localhost');
816
INSERT INTO `glpi_configs` VALUES ('10','core','admin_email_name','');
817
INSERT INTO `glpi_configs` VALUES ('11','core','admin_reply','');
818
INSERT INTO `glpi_configs` VALUES ('12','core','admin_reply_name','');
819
INSERT INTO `glpi_configs` VALUES ('13','core','mailing_signature','SIGNATURE');
820
INSERT INTO `glpi_configs` VALUES ('14','core','use_anonymous_helpdesk','0');
821
INSERT INTO `glpi_configs` VALUES ('15','core','use_anonymous_followups','0');
822
INSERT INTO `glpi_configs` VALUES ('16','core','language','en_GB');
823
INSERT INTO `glpi_configs` VALUES ('17','core','priority_1','#fff2f2');
824
INSERT INTO `glpi_configs` VALUES ('18','core','priority_2','#ffe0e0');
825
INSERT INTO `glpi_configs` VALUES ('19','core','priority_3','#ffcece');
826
INSERT INTO `glpi_configs` VALUES ('20','core','priority_4','#ffbfbf');
827
INSERT INTO `glpi_configs` VALUES ('21','core','priority_5','#ffadad');
828
INSERT INTO `glpi_configs` VALUES ('22','core','priority_6','#ff5555');
829
INSERT INTO `glpi_configs` VALUES ('23','core','date_tax','2005-12-31');
830
INSERT INTO `glpi_configs` VALUES ('24','core','cas_host','');
831
INSERT INTO `glpi_configs` VALUES ('25','core','cas_port','443');
832
INSERT INTO `glpi_configs` VALUES ('26','core','cas_uri','');
833
INSERT INTO `glpi_configs` VALUES ('27','core','cas_logout','');
834
INSERT INTO `glpi_configs` VALUES ('28','core','existing_auth_server_field_clean_domain','0');
835
INSERT INTO `glpi_configs` VALUES ('29','core','planning_begin','08:00:00');
836
INSERT INTO `glpi_configs` VALUES ('30','core','planning_end','20:00:00');
837
INSERT INTO `glpi_configs` VALUES ('31','core','utf8_conv','1');
838
INSERT INTO `glpi_configs` VALUES ('32','core','use_public_faq','0');
839
INSERT INTO `glpi_configs` VALUES ('33','core','url_base','http://localhost/glpi/');
840
INSERT INTO `glpi_configs` VALUES ('34','core','show_link_in_mail','0');
841
INSERT INTO `glpi_configs` VALUES ('35','core','text_login','');
842
INSERT INTO `glpi_configs` VALUES ('36','core','founded_new_version','');
843
INSERT INTO `glpi_configs` VALUES ('37','core','dropdown_max','100');
844
INSERT INTO `glpi_configs` VALUES ('38','core','ajax_wildcard','*');
845
INSERT INTO `glpi_configs` VALUES ('151','core','use_rich_text','0');
846
INSERT INTO `glpi_configs` VALUES ('150','core','maintenance_text','');
847
INSERT INTO `glpi_configs` VALUES ('149','core','maintenance_mode','0');
848
INSERT INTO `glpi_configs` VALUES ('42','core','ajax_limit_count','50');
849
INSERT INTO `glpi_configs` VALUES ('43','core','use_ajax_autocompletion','1');
850
INSERT INTO `glpi_configs` VALUES ('44','core','is_users_auto_add','1');
851
INSERT INTO `glpi_configs` VALUES ('45','core','date_format','0');
852
INSERT INTO `glpi_configs` VALUES ('46','core','number_format','0');
853
INSERT INTO `glpi_configs` VALUES ('47','core','csv_delimiter',';');
854
INSERT INTO `glpi_configs` VALUES ('48','core','is_ids_visible','0');
855
INSERT INTO `glpi_configs` VALUES ('49','core','dropdown_chars_limit','50');
856
INSERT INTO `glpi_configs` VALUES ('50','core','smtp_mode','0');
857
INSERT INTO `glpi_configs` VALUES ('51','core','smtp_host','');
858
INSERT INTO `glpi_configs` VALUES ('52','core','smtp_port','25');
859
INSERT INTO `glpi_configs` VALUES ('53','core','smtp_username','');
860
INSERT INTO `glpi_configs` VALUES ('54','core','proxy_name','');
861
INSERT INTO `glpi_configs` VALUES ('55','core','proxy_port','8080');
862
INSERT INTO `glpi_configs` VALUES ('56','core','proxy_user','');
863
INSERT INTO `glpi_configs` VALUES ('57','core','add_followup_on_update_ticket','1');
864
INSERT INTO `glpi_configs` VALUES ('58','core','keep_tickets_on_delete','0');
865
INSERT INTO `glpi_configs` VALUES ('59','core','time_step','5');
866
INSERT INTO `glpi_configs` VALUES ('60','core','decimal_number','2');
867
INSERT INTO `glpi_configs` VALUES ('61','core','helpdesk_doc_url','');
868
INSERT INTO `glpi_configs` VALUES ('62','core','central_doc_url','');
869
INSERT INTO `glpi_configs` VALUES ('63','core','documentcategories_id_forticket','0');
870
INSERT INTO `glpi_configs` VALUES ('64','core','monitors_management_restrict','2');
871
INSERT INTO `glpi_configs` VALUES ('65','core','phones_management_restrict','2');
872
INSERT INTO `glpi_configs` VALUES ('66','core','peripherals_management_restrict','2');
873
INSERT INTO `glpi_configs` VALUES ('67','core','printers_management_restrict','2');
874
INSERT INTO `glpi_configs` VALUES ('68','core','use_log_in_files','1');
875
INSERT INTO `glpi_configs` VALUES ('69','core','time_offset','0');
876
INSERT INTO `glpi_configs` VALUES ('70','core','is_contact_autoupdate','1');
877
INSERT INTO `glpi_configs` VALUES ('71','core','is_user_autoupdate','1');
878
INSERT INTO `glpi_configs` VALUES ('72','core','is_group_autoupdate','1');
879
INSERT INTO `glpi_configs` VALUES ('73','core','is_location_autoupdate','1');
880
INSERT INTO `glpi_configs` VALUES ('74','core','state_autoupdate_mode','0');
881
INSERT INTO `glpi_configs` VALUES ('75','core','is_contact_autoclean','0');
882
INSERT INTO `glpi_configs` VALUES ('76','core','is_user_autoclean','0');
883
INSERT INTO `glpi_configs` VALUES ('77','core','is_group_autoclean','0');
884
INSERT INTO `glpi_configs` VALUES ('78','core','is_location_autoclean','0');
885
INSERT INTO `glpi_configs` VALUES ('79','core','state_autoclean_mode','0');
886
INSERT INTO `glpi_configs` VALUES ('80','core','use_flat_dropdowntree','0');
887
INSERT INTO `glpi_configs` VALUES ('81','core','use_autoname_by_entity','1');
888
INSERT INTO `glpi_configs` VALUES ('148','core','keep_devices_when_purging_item','0');
889
INSERT INTO `glpi_configs` VALUES ('147','core','pdffont','helvetica');
890
INSERT INTO `glpi_configs` VALUES ('84','core','softwarecategories_id_ondelete','1');
891
INSERT INTO `glpi_configs` VALUES ('85','core','x509_email_field','');
892
INSERT INTO `glpi_configs` VALUES ('86','core','x509_cn_restrict','');
893
INSERT INTO `glpi_configs` VALUES ('87','core','x509_o_restrict','');
894
INSERT INTO `glpi_configs` VALUES ('88','core','x509_ou_restrict','');
895
INSERT INTO `glpi_configs` VALUES ('89','core','default_mailcollector_filesize_max','2097152');
896
INSERT INTO `glpi_configs` VALUES ('90','core','followup_private','0');
897
INSERT INTO `glpi_configs` VALUES ('91','core','task_private','0');
898
INSERT INTO `glpi_configs` VALUES ('92','core','default_software_helpdesk_visible','1');
899
INSERT INTO `glpi_configs` VALUES ('93','core','names_format','0');
900
INSERT INTO `glpi_configs` VALUES ('94','core','default_graphtype','svg');
901
INSERT INTO `glpi_configs` VALUES ('95','core','default_requesttypes_id','1');
902
INSERT INTO `glpi_configs` VALUES ('96','core','use_noright_users_add','1');
903
INSERT INTO `glpi_configs` VALUES ('97','core','cron_limit','1');
904
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}}');
905
INSERT INTO `glpi_configs` VALUES ('99','core','urgency_mask','62');
906
INSERT INTO `glpi_configs` VALUES ('100','core','impact_mask','62');
907
INSERT INTO `glpi_configs` VALUES ('101','core','user_deleted_ldap','0');
908
INSERT INTO `glpi_configs` VALUES ('102','core','auto_create_infocoms','0');
909
INSERT INTO `glpi_configs` VALUES ('103','core','use_slave_for_search','0');
910
INSERT INTO `glpi_configs` VALUES ('104','core','proxy_passwd','');
911
INSERT INTO `glpi_configs` VALUES ('105','core','smtp_passwd','');
912
INSERT INTO `glpi_configs` VALUES ('106','core','transfers_id_auto','0');
913
INSERT INTO `glpi_configs` VALUES ('107','core','show_count_on_tabs','1');
914
INSERT INTO `glpi_configs` VALUES ('108','core','refresh_ticket_list','0');
915
INSERT INTO `glpi_configs` VALUES ('109','core','set_default_tech','1');
916
INSERT INTO `glpi_configs` VALUES ('110','core','allow_search_view','2');
917
INSERT INTO `glpi_configs` VALUES ('111','core','allow_search_all','1');
918
INSERT INTO `glpi_configs` VALUES ('112','core','allow_search_global','1');
919
INSERT INTO `glpi_configs` VALUES ('113','core','display_count_on_home','5');
920
INSERT INTO `glpi_configs` VALUES ('114','core','use_password_security','0');
921
INSERT INTO `glpi_configs` VALUES ('115','core','password_min_length','8');
922
INSERT INTO `glpi_configs` VALUES ('116','core','password_need_number','1');
923
INSERT INTO `glpi_configs` VALUES ('117','core','password_need_letter','1');
924
INSERT INTO `glpi_configs` VALUES ('118','core','password_need_caps','1');
925
INSERT INTO `glpi_configs` VALUES ('119','core','password_need_symbol','1');
926
INSERT INTO `glpi_configs` VALUES ('120','core','use_check_pref','0');
927
INSERT INTO `glpi_configs` VALUES ('121','core','notification_to_myself','1');
928
INSERT INTO `glpi_configs` VALUES ('122','core','duedateok_color','#06ff00');
929
INSERT INTO `glpi_configs` VALUES ('123','core','duedatewarning_color','#ffb800');
930
INSERT INTO `glpi_configs` VALUES ('124','core','duedatecritical_color','#ff0000');
931
INSERT INTO `glpi_configs` VALUES ('125','core','duedatewarning_less','20');
932
INSERT INTO `glpi_configs` VALUES ('126','core','duedatecritical_less','5');
933
INSERT INTO `glpi_configs` VALUES ('127','core','duedatewarning_unit','%');
934
INSERT INTO `glpi_configs` VALUES ('128','core','duedatecritical_unit','%');
935
INSERT INTO `glpi_configs` VALUES ('129','core','realname_ssofield','');
936
INSERT INTO `glpi_configs` VALUES ('130','core','firstname_ssofield','');
937
INSERT INTO `glpi_configs` VALUES ('131','core','email1_ssofield','');
938
INSERT INTO `glpi_configs` VALUES ('132','core','email2_ssofield','');
939
INSERT INTO `glpi_configs` VALUES ('133','core','email3_ssofield','');
940
INSERT INTO `glpi_configs` VALUES ('134','core','email4_ssofield','');
941
INSERT INTO `glpi_configs` VALUES ('135','core','phone_ssofield','');
942
INSERT INTO `glpi_configs` VALUES ('136','core','phone2_ssofield','');
943
INSERT INTO `glpi_configs` VALUES ('137','core','mobile_ssofield','');
944
INSERT INTO `glpi_configs` VALUES ('138','core','comment_ssofield','');
945
INSERT INTO `glpi_configs` VALUES ('139','core','title_ssofield','');
946
INSERT INTO `glpi_configs` VALUES ('140','core','category_ssofield','');
947
INSERT INTO `glpi_configs` VALUES ('141','core','language_ssofield','');
948
INSERT INTO `glpi_configs` VALUES ('142','core','entity_ssofield','');
949
INSERT INTO `glpi_configs` VALUES ('143','core','registration_number_ssofield','');
950
INSERT INTO `glpi_configs` VALUES ('144','core','ssovariables_id','0');
951
INSERT INTO `glpi_configs` VALUES ('145','core','translate_kb','0');
952
INSERT INTO `glpi_configs` VALUES ('146','core','translate_dropdowns','0');
953
INSERT INTO `glpi_configs` VALUES ('152','core','attach_ticket_documents_to_mail','0');
954
INSERT INTO `glpi_configs` VALUES ('153','core','backcreated','0');
955

  
956
### Dump table glpi_consumableitems
957

  
958
DROP TABLE IF EXISTS `glpi_consumableitems`;
959
CREATE TABLE `glpi_consumableitems` (
960
  `id` int(11) NOT NULL AUTO_INCREMENT,
961
  `entities_id` int(11) NOT NULL DEFAULT '0',
962
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
963
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
964
  `ref` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
965
  `locations_id` int(11) NOT NULL DEFAULT '0',
966
  `consumableitemtypes_id` int(11) NOT NULL DEFAULT '0',
967
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
968
  `users_id_tech` int(11) NOT NULL DEFAULT '0',
969
  `groups_id_tech` int(11) NOT NULL DEFAULT '0',
970
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
971
  `comment` text COLLATE utf8_unicode_ci,
972
  `alarm_threshold` int(11) NOT NULL DEFAULT '10',
973
  PRIMARY KEY (`id`),
974
  KEY `name` (`name`),
975
  KEY `entities_id` (`entities_id`),
976
  KEY `manufacturers_id` (`manufacturers_id`),
977
  KEY `locations_id` (`locations_id`),
978
  KEY `users_id_tech` (`users_id_tech`),
979
  KEY `consumableitemtypes_id` (`consumableitemtypes_id`),
980
  KEY `is_deleted` (`is_deleted`),
981
  KEY `alarm_threshold` (`alarm_threshold`),
982
  KEY `groups_id_tech` (`groups_id_tech`)
983
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
984

  
985

  
986
### Dump table glpi_consumableitemtypes
987

  
988
DROP TABLE IF EXISTS `glpi_consumableitemtypes`;
989
CREATE TABLE `glpi_consumableitemtypes` (
990
  `id` int(11) NOT NULL AUTO_INCREMENT,
991
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
992
  `comment` text COLLATE utf8_unicode_ci,
993
  PRIMARY KEY (`id`),
994
  KEY `name` (`name`)
995
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
996

  
997

  
998
### Dump table glpi_consumables
999

  
1000
DROP TABLE IF EXISTS `glpi_consumables`;
1001
CREATE TABLE `glpi_consumables` (
1002
  `id` int(11) NOT NULL AUTO_INCREMENT,
1003
  `entities_id` int(11) NOT NULL DEFAULT '0',
1004
  `consumableitems_id` int(11) NOT NULL DEFAULT '0',
1005
  `date_in` date DEFAULT NULL,
1006
  `date_out` date DEFAULT NULL,
1007
  `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
1008
  `items_id` int(11) NOT NULL DEFAULT '0',
1009
  PRIMARY KEY (`id`),
1010
  KEY `date_in` (`date_in`),
1011
  KEY `date_out` (`date_out`),
1012
  KEY `consumableitems_id` (`consumableitems_id`),
1013
  KEY `entities_id` (`entities_id`),
1014
  KEY `item` (`itemtype`,`items_id`)
1015
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1016

  
1017

  
1018
### Dump table glpi_contacts
1019

  
1020
DROP TABLE IF EXISTS `glpi_contacts`;
1021
CREATE TABLE `glpi_contacts` (
1022
  `id` int(11) NOT NULL AUTO_INCREMENT,
1023
  `entities_id` int(11) NOT NULL DEFAULT '0',
1024
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1025
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1026
  `firstname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1027
  `phone` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1028
  `phone2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1029
  `mobile` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1030
  `fax` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1031
  `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1032
  `contacttypes_id` int(11) NOT NULL DEFAULT '0',
1033
  `comment` text COLLATE utf8_unicode_ci,
1034
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
1035
  `usertitles_id` int(11) NOT NULL DEFAULT '0',
1036
  `address` text COLLATE utf8_unicode_ci,
1037
  `postcode` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1038
  `town` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1039
  `state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1040
  `country` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1041
  PRIMARY KEY (`id`),
1042
  KEY `name` (`name`),
1043
  KEY `entities_id` (`entities_id`),
1044
  KEY `contacttypes_id` (`contacttypes_id`),
1045
  KEY `is_deleted` (`is_deleted`),
1046
  KEY `usertitles_id` (`usertitles_id`)
1047
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1048

  
1049

  
1050
### Dump table glpi_contacts_suppliers
1051

  
1052
DROP TABLE IF EXISTS `glpi_contacts_suppliers`;
1053
CREATE TABLE `glpi_contacts_suppliers` (
1054
  `id` int(11) NOT NULL AUTO_INCREMENT,
1055
  `suppliers_id` int(11) NOT NULL DEFAULT '0',
1056
  `contacts_id` int(11) NOT NULL DEFAULT '0',
1057
  PRIMARY KEY (`id`),
1058
  UNIQUE KEY `unicity` (`suppliers_id`,`contacts_id`),
1059
  KEY `contacts_id` (`contacts_id`)
1060
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1061

  
1062

  
1063
### Dump table glpi_contacttypes
1064

  
1065
DROP TABLE IF EXISTS `glpi_contacttypes`;
1066
CREATE TABLE `glpi_contacttypes` (
1067
  `id` int(11) NOT NULL AUTO_INCREMENT,
1068
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1069
  `comment` text COLLATE utf8_unicode_ci,
1070
  PRIMARY KEY (`id`),
1071
  KEY `name` (`name`)
1072
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1073

  
1074

  
1075
### Dump table glpi_contractcosts
1076

  
1077
DROP TABLE IF EXISTS `glpi_contractcosts`;
1078
CREATE TABLE `glpi_contractcosts` (
1079
  `id` int(11) NOT NULL AUTO_INCREMENT,
1080
  `contracts_id` int(11) NOT NULL DEFAULT '0',
1081
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1082
  `comment` text COLLATE utf8_unicode_ci,
1083
  `begin_date` date DEFAULT NULL,
1084
  `end_date` date DEFAULT NULL,
1085
  `cost` decimal(20,4) NOT NULL DEFAULT '0.0000',
1086
  `budgets_id` int(11) NOT NULL DEFAULT '0',
1087
  `entities_id` int(11) NOT NULL DEFAULT '0',
1088
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1089
  PRIMARY KEY (`id`),
1090
  KEY `name` (`name`),
1091
  KEY `contracts_id` (`contracts_id`),
1092
  KEY `begin_date` (`begin_date`),
1093
  KEY `end_date` (`end_date`),
1094
  KEY `entities_id` (`entities_id`),
1095
  KEY `is_recursive` (`is_recursive`),
1096
  KEY `budgets_id` (`budgets_id`)
1097
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1098

  
1099

  
1100
### Dump table glpi_contracts
1101

  
1102
DROP TABLE IF EXISTS `glpi_contracts`;
1103
CREATE TABLE `glpi_contracts` (
1104
  `id` int(11) NOT NULL AUTO_INCREMENT,
1105
  `entities_id` int(11) NOT NULL DEFAULT '0',
1106
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1107
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1108
  `num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1109
  `contracttypes_id` int(11) NOT NULL DEFAULT '0',
1110
  `begin_date` date DEFAULT NULL,
1111
  `duration` int(11) NOT NULL DEFAULT '0',
1112
  `notice` int(11) NOT NULL DEFAULT '0',
1113
  `periodicity` int(11) NOT NULL DEFAULT '0',
1114
  `billing` int(11) NOT NULL DEFAULT '0',
1115
  `comment` text COLLATE utf8_unicode_ci,
1116
  `accounting_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1117
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
1118
  `week_begin_hour` time NOT NULL DEFAULT '00:00:00',
1119
  `week_end_hour` time NOT NULL DEFAULT '00:00:00',
1120
  `saturday_begin_hour` time NOT NULL DEFAULT '00:00:00',
1121
  `saturday_end_hour` time NOT NULL DEFAULT '00:00:00',
1122
  `use_saturday` tinyint(1) NOT NULL DEFAULT '0',
1123
  `monday_begin_hour` time NOT NULL DEFAULT '00:00:00',
1124
  `monday_end_hour` time NOT NULL DEFAULT '00:00:00',
1125
  `use_monday` tinyint(1) NOT NULL DEFAULT '0',
1126
  `max_links_allowed` int(11) NOT NULL DEFAULT '0',
1127
  `alert` int(11) NOT NULL DEFAULT '0',
1128
  `renewal` int(11) NOT NULL DEFAULT '0',
1129
  `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1130
  `is_template` tinyint(1) NOT NULL DEFAULT '0',
1131
  PRIMARY KEY (`id`),
1132
  KEY `begin_date` (`begin_date`),
1133
  KEY `name` (`name`),
1134
  KEY `contracttypes_id` (`contracttypes_id`),
1135
  KEY `entities_id` (`entities_id`),
1136
  KEY `is_deleted` (`is_deleted`),
1137
  KEY `use_monday` (`use_monday`),
1138
  KEY `use_saturday` (`use_saturday`),
1139
  KEY `alert` (`alert`)
1140
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1141

  
1142

  
1143
### Dump table glpi_contracts_items
1144

  
1145
DROP TABLE IF EXISTS `glpi_contracts_items`;
1146
CREATE TABLE `glpi_contracts_items` (
1147
  `id` int(11) NOT NULL AUTO_INCREMENT,
1148
  `contracts_id` int(11) NOT NULL DEFAULT '0',
1149
  `items_id` int(11) NOT NULL DEFAULT '0',
1150
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
1151
  PRIMARY KEY (`id`),
1152
  UNIQUE KEY `unicity` (`contracts_id`,`itemtype`,`items_id`),
1153
  KEY `FK_device` (`items_id`,`itemtype`),
1154
  KEY `item` (`itemtype`,`items_id`)
1155
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1156

  
1157

  
1158
### Dump table glpi_contracts_suppliers
1159

  
1160
DROP TABLE IF EXISTS `glpi_contracts_suppliers`;
1161
CREATE TABLE `glpi_contracts_suppliers` (
1162
  `id` int(11) NOT NULL AUTO_INCREMENT,
1163
  `suppliers_id` int(11) NOT NULL DEFAULT '0',
1164
  `contracts_id` int(11) NOT NULL DEFAULT '0',
1165
  PRIMARY KEY (`id`),
1166
  UNIQUE KEY `unicity` (`suppliers_id`,`contracts_id`),
1167
  KEY `contracts_id` (`contracts_id`)
1168
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1169

  
1170

  
1171
### Dump table glpi_contracttypes
1172

  
1173
DROP TABLE IF EXISTS `glpi_contracttypes`;
1174
CREATE TABLE `glpi_contracttypes` (
1175
  `id` int(11) NOT NULL AUTO_INCREMENT,
1176
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1177
  `comment` text COLLATE utf8_unicode_ci,
1178
  PRIMARY KEY (`id`),
1179
  KEY `name` (`name`)
1180
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1181

  
1182

  
1183
### Dump table glpi_crontasklogs
1184

  
1185
DROP TABLE IF EXISTS `glpi_crontasklogs`;
1186
CREATE TABLE `glpi_crontasklogs` (
1187
  `id` int(11) NOT NULL AUTO_INCREMENT,
1188
  `crontasks_id` int(11) NOT NULL,
1189
  `crontasklogs_id` int(11) NOT NULL COMMENT 'id of ''start'' event',
1190
  `date` datetime NOT NULL,
1191
  `state` int(11) NOT NULL COMMENT '0:start, 1:run, 2:stop',
1192
  `elapsed` float NOT NULL COMMENT 'time elapsed since start',
1193
  `volume` int(11) NOT NULL COMMENT 'for statistics',
1194
  `content` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'message',
1195
  PRIMARY KEY (`id`),
1196
  KEY `date` (`date`),
1197
  KEY `crontasks_id` (`crontasks_id`),
1198
  KEY `crontasklogs_id_state` (`crontasklogs_id`,`state`)
1199
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1200

  
1201

  
1202
### Dump table glpi_crontasks
1203

  
1204
DROP TABLE IF EXISTS `glpi_crontasks`;
1205
CREATE TABLE `glpi_crontasks` (
1206
  `id` int(11) NOT NULL AUTO_INCREMENT,
1207
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
1208
  `name` varchar(150) COLLATE utf8_unicode_ci NOT NULL COMMENT 'task name',
1209
  `frequency` int(11) NOT NULL COMMENT 'second between launch',
1210
  `param` int(11) DEFAULT NULL COMMENT 'task specify parameter',
1211
  `state` int(11) NOT NULL DEFAULT '1' COMMENT '0:disabled, 1:waiting, 2:running',
1212
  `mode` int(11) NOT NULL DEFAULT '1' COMMENT '1:internal, 2:external',
1213
  `allowmode` int(11) NOT NULL DEFAULT '3' COMMENT '1:internal, 2:external, 3:both',
1214
  `hourmin` int(11) NOT NULL DEFAULT '0',
1215
  `hourmax` int(11) NOT NULL DEFAULT '24',
1216
  `logs_lifetime` int(11) NOT NULL DEFAULT '30' COMMENT 'number of days',
1217
  `lastrun` datetime DEFAULT NULL COMMENT 'last run date',
1218
  `lastcode` int(11) DEFAULT NULL COMMENT 'last run return code',
1219
  `comment` text COLLATE utf8_unicode_ci,
1220
  PRIMARY KEY (`id`),
1221
  UNIQUE KEY `unicity` (`itemtype`,`name`),
1222
  KEY `mode` (`mode`)
1223
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Task run by internal / external cron.';
1224

  
1225
INSERT INTO `glpi_crontasks` VALUES ('2','CartridgeItem','cartridge','86400','10','0','1','3','0','24','30',NULL,NULL,NULL);
1226
INSERT INTO `glpi_crontasks` VALUES ('3','ConsumableItem','consumable','86400','10','0','1','3','0','24','30',NULL,NULL,NULL);
1227
INSERT INTO `glpi_crontasks` VALUES ('4','SoftwareLicense','software','86400',NULL,'0','1','3','0','24','30',NULL,NULL,NULL);
1228
INSERT INTO `glpi_crontasks` VALUES ('5','Contract','contract','86400',NULL,'1','1','3','0','24','30','2010-05-06 09:31:02',NULL,NULL);
1229
INSERT INTO `glpi_crontasks` VALUES ('6','InfoCom','infocom','86400',NULL,'1','1','3','0','24','30','2011-01-18 11:40:43',NULL,NULL);
1230
INSERT INTO `glpi_crontasks` VALUES ('7','CronTask','logs','86400','30','0','1','3','0','24','30',NULL,NULL,NULL);
1231
INSERT INTO `glpi_crontasks` VALUES ('8','CronTask','optimize','604800',NULL,'1','1','3','0','24','30','2011-03-04 11:35:21',NULL,NULL);
1232
INSERT INTO `glpi_crontasks` VALUES ('9','MailCollector','mailgate','600','10','1','1','3','0','24','30','2011-06-28 11:34:37',NULL,NULL);
1233
INSERT INTO `glpi_crontasks` VALUES ('10','DBconnection','checkdbreplicate','300',NULL,'0','1','3','0','24','30',NULL,NULL,NULL);
1234
INSERT INTO `glpi_crontasks` VALUES ('11','CronTask','checkupdate','604800',NULL,'0','1','3','0','24','30',NULL,NULL,NULL);
1235
INSERT INTO `glpi_crontasks` VALUES ('12','CronTask','session','86400',NULL,'1','1','3','0','24','30','2011-08-30 08:22:27',NULL,NULL);
1236
INSERT INTO `glpi_crontasks` VALUES ('13','CronTask','graph','3600',NULL,'1','1','3','0','24','30','2011-12-06 09:48:42',NULL,NULL);
1237
INSERT INTO `glpi_crontasks` VALUES ('14','ReservationItem','reservation','3600',NULL,'1','1','3','0','24','30','2012-04-05 20:31:57',NULL,NULL);
1238
INSERT INTO `glpi_crontasks` VALUES ('15','Ticket','closeticket','43200',NULL,'1','1','3','0','24','30','2014-01-15 14:35:00',NULL,NULL);
1239
INSERT INTO `glpi_crontasks` VALUES ('16','Ticket','alertnotclosed','43200',NULL,'1','1','3','0','24','30','2014-04-16 16:47:00',NULL,NULL);
1240
INSERT INTO `glpi_crontasks` VALUES ('17','SlaLevel_Ticket','slaticket','300',NULL,'1','1','3','0','24','30',NULL,NULL,NULL);
1241
INSERT INTO `glpi_crontasks` VALUES ('18','Ticket','createinquest','86400',NULL,'1','1','3','0','24','30',NULL,NULL,NULL);
1242
INSERT INTO `glpi_crontasks` VALUES ('19','Crontask','watcher','86400',NULL,'1','1','3','0','24','30',NULL,NULL,NULL);
1243
INSERT INTO `glpi_crontasks` VALUES ('20','TicketRecurrent','ticketrecurrent','3600',NULL,'1','1','3','0','24','30',NULL,NULL,NULL);
1244
INSERT INTO `glpi_crontasks` VALUES ('21','PlanningRecall','planningrecall','300',NULL,'1','1','3','0','24','30',NULL,NULL,NULL);
1245
INSERT INTO `glpi_crontasks` VALUES ('22','QueuedMail','queuedmail','60','50','1','1','3','0','24','30',NULL,NULL,NULL);
1246
INSERT INTO `glpi_crontasks` VALUES ('23','QueuedMail','queuedmailclean','86400','30','1','1','3','0','24','30',NULL,NULL,NULL);
1247
INSERT INTO `glpi_crontasks` VALUES ('24','Crontask','temp','3600',NULL,'1','1','3','0','24','30',NULL,NULL,NULL);
1248
INSERT INTO `glpi_crontasks` VALUES ('25','MailCollector','mailgateerror','86400',NULL,'1','1','3','0','24','30',NULL,NULL,NULL);
1249
INSERT INTO `glpi_crontasks` VALUES ('26','Crontask','circularlogs','86400','4','0','1','3','0','24','30',NULL,NULL,NULL);
1250

  
1251
### Dump table glpi_devicecases
1252

  
1253
DROP TABLE IF EXISTS `glpi_devicecases`;
1254
CREATE TABLE `glpi_devicecases` (
1255
  `id` int(11) NOT NULL AUTO_INCREMENT,
1256
  `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1257
  `devicecasetypes_id` int(11) NOT NULL DEFAULT '0',
1258
  `comment` text COLLATE utf8_unicode_ci,
1259
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
1260
  `entities_id` int(11) NOT NULL DEFAULT '0',
1261
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1262
  PRIMARY KEY (`id`),
1263
  KEY `designation` (`designation`),
1264
  KEY `manufacturers_id` (`manufacturers_id`),
1265
  KEY `devicecasetypes_id` (`devicecasetypes_id`),
1266
  KEY `entities_id` (`entities_id`),
1267
  KEY `is_recursive` (`is_recursive`)
1268
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1269

  
1270

  
1271
### Dump table glpi_devicecasetypes
1272

  
1273
DROP TABLE IF EXISTS `glpi_devicecasetypes`;
1274
CREATE TABLE `glpi_devicecasetypes` (
1275
  `id` int(11) NOT NULL AUTO_INCREMENT,
1276
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1277
  `comment` text COLLATE utf8_unicode_ci,
1278
  PRIMARY KEY (`id`),
1279
  KEY `name` (`name`)
1280
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1281

  
1282

  
1283
### Dump table glpi_devicecontrols
1284

  
1285
DROP TABLE IF EXISTS `glpi_devicecontrols`;
1286
CREATE TABLE `glpi_devicecontrols` (
1287
  `id` int(11) NOT NULL AUTO_INCREMENT,
1288
  `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1289
  `is_raid` tinyint(1) NOT NULL DEFAULT '0',
1290
  `comment` text COLLATE utf8_unicode_ci,
1291
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
1292
  `interfacetypes_id` int(11) NOT NULL DEFAULT '0',
1293
  `entities_id` int(11) NOT NULL DEFAULT '0',
1294
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1295
  PRIMARY KEY (`id`),
1296
  KEY `designation` (`designation`),
1297
  KEY `manufacturers_id` (`manufacturers_id`),
1298
  KEY `interfacetypes_id` (`interfacetypes_id`),
1299
  KEY `entities_id` (`entities_id`),
1300
  KEY `is_recursive` (`is_recursive`)
1301
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1302

  
1303

  
1304
### Dump table glpi_devicedrives
1305

  
1306
DROP TABLE IF EXISTS `glpi_devicedrives`;
1307
CREATE TABLE `glpi_devicedrives` (
1308
  `id` int(11) NOT NULL AUTO_INCREMENT,
1309
  `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1310
  `is_writer` tinyint(1) NOT NULL DEFAULT '1',
1311
  `speed` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1312
  `comment` text COLLATE utf8_unicode_ci,
1313
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
1314
  `interfacetypes_id` int(11) NOT NULL DEFAULT '0',
1315
  `entities_id` int(11) NOT NULL DEFAULT '0',
1316
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1317
  PRIMARY KEY (`id`),
1318
  KEY `designation` (`designation`),
1319
  KEY `manufacturers_id` (`manufacturers_id`),
1320
  KEY `interfacetypes_id` (`interfacetypes_id`),
1321
  KEY `entities_id` (`entities_id`),
1322
  KEY `is_recursive` (`is_recursive`)
1323
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1324

  
1325

  
1326
### Dump table glpi_devicegraphiccards
1327

  
1328
DROP TABLE IF EXISTS `glpi_devicegraphiccards`;
1329
CREATE TABLE `glpi_devicegraphiccards` (
1330
  `id` int(11) NOT NULL AUTO_INCREMENT,
1331
  `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1332
  `interfacetypes_id` int(11) NOT NULL DEFAULT '0',
1333
  `comment` text COLLATE utf8_unicode_ci,
1334
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
1335
  `memory_default` int(11) NOT NULL DEFAULT '0',
1336
  `entities_id` int(11) NOT NULL DEFAULT '0',
1337
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1338
  `chipset` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1339
  PRIMARY KEY (`id`),
1340
  KEY `designation` (`designation`),
1341
  KEY `manufacturers_id` (`manufacturers_id`),
1342
  KEY `interfacetypes_id` (`interfacetypes_id`),
1343
  KEY `entities_id` (`entities_id`),
1344
  KEY `is_recursive` (`is_recursive`),
1345
  KEY `chipset` (`chipset`)
1346
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1347

  
1348

  
1349
### Dump table glpi_deviceharddrives
1350

  
1351
DROP TABLE IF EXISTS `glpi_deviceharddrives`;
1352
CREATE TABLE `glpi_deviceharddrives` (
1353
  `id` int(11) NOT NULL AUTO_INCREMENT,
1354
  `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1355
  `rpm` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1356
  `interfacetypes_id` int(11) NOT NULL DEFAULT '0',
1357
  `cache` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1358
  `comment` text COLLATE utf8_unicode_ci,
1359
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
1360
  `capacity_default` int(11) NOT NULL DEFAULT '0',
1361
  `entities_id` int(11) NOT NULL DEFAULT '0',
1362
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1363
  PRIMARY KEY (`id`),
1364
  KEY `designation` (`designation`),
1365
  KEY `manufacturers_id` (`manufacturers_id`),
1366
  KEY `interfacetypes_id` (`interfacetypes_id`),
1367
  KEY `entities_id` (`entities_id`),
1368
  KEY `is_recursive` (`is_recursive`)
1369
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1370

  
1371

  
1372
### Dump table glpi_devicememories
1373

  
1374
DROP TABLE IF EXISTS `glpi_devicememories`;
1375
CREATE TABLE `glpi_devicememories` (
1376
  `id` int(11) NOT NULL AUTO_INCREMENT,
1377
  `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1378
  `frequence` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1379
  `comment` text COLLATE utf8_unicode_ci,
1380
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
1381
  `size_default` int(11) NOT NULL DEFAULT '0',
1382
  `devicememorytypes_id` int(11) NOT NULL DEFAULT '0',
1383
  `entities_id` int(11) NOT NULL DEFAULT '0',
1384
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1385
  PRIMARY KEY (`id`),
1386
  KEY `designation` (`designation`),
1387
  KEY `manufacturers_id` (`manufacturers_id`),
1388
  KEY `devicememorytypes_id` (`devicememorytypes_id`),
1389
  KEY `entities_id` (`entities_id`),
1390
  KEY `is_recursive` (`is_recursive`)
1391
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1392

  
1393

  
1394
### Dump table glpi_devicememorytypes
1395

  
1396
DROP TABLE IF EXISTS `glpi_devicememorytypes`;
1397
CREATE TABLE `glpi_devicememorytypes` (
1398
  `id` int(11) NOT NULL AUTO_INCREMENT,
1399
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1400
  `comment` text COLLATE utf8_unicode_ci,
1401
  PRIMARY KEY (`id`),
1402
  KEY `name` (`name`)
1403
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1404

  
1405
INSERT INTO `glpi_devicememorytypes` VALUES ('1','EDO',NULL);
1406
INSERT INTO `glpi_devicememorytypes` VALUES ('2','DDR',NULL);
1407
INSERT INTO `glpi_devicememorytypes` VALUES ('3','SDRAM',NULL);
1408
INSERT INTO `glpi_devicememorytypes` VALUES ('4','SDRAM-2',NULL);
1409

  
1410
### Dump table glpi_devicemotherboards
1411

  
1412
DROP TABLE IF EXISTS `glpi_devicemotherboards`;
1413
CREATE TABLE `glpi_devicemotherboards` (
1414
  `id` int(11) NOT NULL AUTO_INCREMENT,
1415
  `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1416
  `chipset` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1417
  `comment` text COLLATE utf8_unicode_ci,
1418
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
1419
  `entities_id` int(11) NOT NULL DEFAULT '0',
1420
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1421
  PRIMARY KEY (`id`),
1422
  KEY `designation` (`designation`),
1423
  KEY `manufacturers_id` (`manufacturers_id`),
1424
  KEY `entities_id` (`entities_id`),
1425
  KEY `is_recursive` (`is_recursive`)
1426
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1427

  
1428

  
1429
### Dump table glpi_devicenetworkcards
1430

  
1431
DROP TABLE IF EXISTS `glpi_devicenetworkcards`;
1432
CREATE TABLE `glpi_devicenetworkcards` (
1433
  `id` int(11) NOT NULL AUTO_INCREMENT,
1434
  `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1435
  `bandwidth` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1436
  `comment` text COLLATE utf8_unicode_ci,
1437
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
1438
  `mac_default` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1439
  `entities_id` int(11) NOT NULL DEFAULT '0',
1440
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1441
  PRIMARY KEY (`id`),
1442
  KEY `designation` (`designation`),
1443
  KEY `manufacturers_id` (`manufacturers_id`),
1444
  KEY `entities_id` (`entities_id`),
1445
  KEY `is_recursive` (`is_recursive`)
1446
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1447

  
1448

  
1449
### Dump table glpi_devicepcis
1450

  
1451
DROP TABLE IF EXISTS `glpi_devicepcis`;
1452
CREATE TABLE `glpi_devicepcis` (
1453
  `id` int(11) NOT NULL AUTO_INCREMENT,
1454
  `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1455
  `comment` text COLLATE utf8_unicode_ci,
1456
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
1457
  `entities_id` int(11) NOT NULL DEFAULT '0',
1458
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1459
  PRIMARY KEY (`id`),
1460
  KEY `designation` (`designation`),
1461
  KEY `manufacturers_id` (`manufacturers_id`),
1462
  KEY `entities_id` (`entities_id`),
1463
  KEY `is_recursive` (`is_recursive`)
1464
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1465

  
1466

  
1467
### Dump table glpi_devicepowersupplies
1468

  
1469
DROP TABLE IF EXISTS `glpi_devicepowersupplies`;
1470
CREATE TABLE `glpi_devicepowersupplies` (
1471
  `id` int(11) NOT NULL AUTO_INCREMENT,
1472
  `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1473
  `power` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1474
  `is_atx` tinyint(1) NOT NULL DEFAULT '1',
1475
  `comment` text COLLATE utf8_unicode_ci,
1476
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
1477
  `entities_id` int(11) NOT NULL DEFAULT '0',
1478
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1479
  PRIMARY KEY (`id`),
1480
  KEY `designation` (`designation`),
1481
  KEY `manufacturers_id` (`manufacturers_id`),
1482
  KEY `entities_id` (`entities_id`),
1483
  KEY `is_recursive` (`is_recursive`)
1484
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1485

  
1486

  
1487
### Dump table glpi_deviceprocessors
1488

  
1489
DROP TABLE IF EXISTS `glpi_deviceprocessors`;
1490
CREATE TABLE `glpi_deviceprocessors` (
1491
  `id` int(11) NOT NULL AUTO_INCREMENT,
1492
  `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1493
  `frequence` int(11) NOT NULL DEFAULT '0',
1494
  `comment` text COLLATE utf8_unicode_ci,
1495
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
1496
  `frequency_default` int(11) NOT NULL DEFAULT '0',
1497
  `nbcores_default` int(11) DEFAULT NULL,
1498
  `nbthreads_default` int(11) DEFAULT NULL,
1499
  `entities_id` int(11) NOT NULL DEFAULT '0',
1500
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1501
  PRIMARY KEY (`id`),
1502
  KEY `designation` (`designation`),
1503
  KEY `manufacturers_id` (`manufacturers_id`),
1504
  KEY `entities_id` (`entities_id`),
1505
  KEY `is_recursive` (`is_recursive`)
1506
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1507

  
1508

  
1509
### Dump table glpi_devicesoundcards
1510

  
1511
DROP TABLE IF EXISTS `glpi_devicesoundcards`;
1512
CREATE TABLE `glpi_devicesoundcards` (
1513
  `id` int(11) NOT NULL AUTO_INCREMENT,
1514
  `designation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1515
  `type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1516
  `comment` text COLLATE utf8_unicode_ci,
1517
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
1518
  `entities_id` int(11) NOT NULL DEFAULT '0',
1519
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1520
  PRIMARY KEY (`id`),
1521
  KEY `designation` (`designation`),
1522
  KEY `manufacturers_id` (`manufacturers_id`),
1523
  KEY `entities_id` (`entities_id`),
1524
  KEY `is_recursive` (`is_recursive`)
1525
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1526

  
1527

  
1528
### Dump table glpi_displaypreferences
1529

  
1530
DROP TABLE IF EXISTS `glpi_displaypreferences`;
1531
CREATE TABLE `glpi_displaypreferences` (
1532
  `id` int(11) NOT NULL AUTO_INCREMENT,
1533
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
1534
  `num` int(11) NOT NULL DEFAULT '0',
1535
  `rank` int(11) NOT NULL DEFAULT '0',
1536
  `users_id` int(11) NOT NULL DEFAULT '0',
1537
  PRIMARY KEY (`id`),
1538
  UNIQUE KEY `unicity` (`users_id`,`itemtype`,`num`),
1539
  KEY `rank` (`rank`),
1540
  KEY `num` (`num`),
1541
  KEY `itemtype` (`itemtype`)
1542
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1543

  
1544
INSERT INTO `glpi_displaypreferences` VALUES ('32','Computer','4','4','0');
1545
INSERT INTO `glpi_displaypreferences` VALUES ('34','Computer','45','6','0');
1546
INSERT INTO `glpi_displaypreferences` VALUES ('33','Computer','40','5','0');
1547
INSERT INTO `glpi_displaypreferences` VALUES ('31','Computer','5','3','0');
1548
INSERT INTO `glpi_displaypreferences` VALUES ('30','Computer','23','2','0');
1549
INSERT INTO `glpi_displaypreferences` VALUES ('86','DocumentType','3','1','0');
1550
INSERT INTO `glpi_displaypreferences` VALUES ('49','Monitor','31','1','0');
1551
INSERT INTO `glpi_displaypreferences` VALUES ('50','Monitor','23','2','0');
1552
INSERT INTO `glpi_displaypreferences` VALUES ('51','Monitor','3','3','0');
1553
INSERT INTO `glpi_displaypreferences` VALUES ('52','Monitor','4','4','0');
1554
INSERT INTO `glpi_displaypreferences` VALUES ('44','Printer','31','1','0');
1555
INSERT INTO `glpi_displaypreferences` VALUES ('38','NetworkEquipment','31','1','0');
1556
INSERT INTO `glpi_displaypreferences` VALUES ('39','NetworkEquipment','23','2','0');
1557
INSERT INTO `glpi_displaypreferences` VALUES ('45','Printer','23','2','0');
1558
INSERT INTO `glpi_displaypreferences` VALUES ('46','Printer','3','3','0');
1559
INSERT INTO `glpi_displaypreferences` VALUES ('63','Software','4','3','0');
1560
INSERT INTO `glpi_displaypreferences` VALUES ('62','Software','5','2','0');
1561
INSERT INTO `glpi_displaypreferences` VALUES ('61','Software','23','1','0');
1562
INSERT INTO `glpi_displaypreferences` VALUES ('83','CartridgeItem','4','2','0');
1563
INSERT INTO `glpi_displaypreferences` VALUES ('82','CartridgeItem','34','1','0');
1564
INSERT INTO `glpi_displaypreferences` VALUES ('57','Peripheral','3','3','0');
1565
INSERT INTO `glpi_displaypreferences` VALUES ('56','Peripheral','23','2','0');
1566
INSERT INTO `glpi_displaypreferences` VALUES ('55','Peripheral','31','1','0');
1567
INSERT INTO `glpi_displaypreferences` VALUES ('29','Computer','31','1','0');
1568
INSERT INTO `glpi_displaypreferences` VALUES ('35','Computer','3','7','0');
1569
INSERT INTO `glpi_displaypreferences` VALUES ('36','Computer','19','8','0');
1570
INSERT INTO `glpi_displaypreferences` VALUES ('37','Computer','17','9','0');
1571
INSERT INTO `glpi_displaypreferences` VALUES ('40','NetworkEquipment','3','3','0');
1572
INSERT INTO `glpi_displaypreferences` VALUES ('41','NetworkEquipment','4','4','0');
1573
INSERT INTO `glpi_displaypreferences` VALUES ('42','NetworkEquipment','11','6','0');
1574
INSERT INTO `glpi_displaypreferences` VALUES ('43','NetworkEquipment','19','7','0');
1575
INSERT INTO `glpi_displaypreferences` VALUES ('47','Printer','4','4','0');
1576
INSERT INTO `glpi_displaypreferences` VALUES ('48','Printer','19','6','0');
1577
INSERT INTO `glpi_displaypreferences` VALUES ('53','Monitor','19','6','0');
1578
INSERT INTO `glpi_displaypreferences` VALUES ('54','Monitor','7','7','0');
1579
INSERT INTO `glpi_displaypreferences` VALUES ('58','Peripheral','4','4','0');
1580
INSERT INTO `glpi_displaypreferences` VALUES ('59','Peripheral','19','6','0');
1581
INSERT INTO `glpi_displaypreferences` VALUES ('60','Peripheral','7','7','0');
1582
INSERT INTO `glpi_displaypreferences` VALUES ('64','Contact','3','1','0');
1583
INSERT INTO `glpi_displaypreferences` VALUES ('65','Contact','4','2','0');
1584
INSERT INTO `glpi_displaypreferences` VALUES ('66','Contact','5','3','0');
1585
INSERT INTO `glpi_displaypreferences` VALUES ('67','Contact','6','4','0');
1586
INSERT INTO `glpi_displaypreferences` VALUES ('68','Contact','9','5','0');
1587
INSERT INTO `glpi_displaypreferences` VALUES ('69','Supplier','9','1','0');
1588
INSERT INTO `glpi_displaypreferences` VALUES ('70','Supplier','3','2','0');
1589
INSERT INTO `glpi_displaypreferences` VALUES ('71','Supplier','4','3','0');
1590
INSERT INTO `glpi_displaypreferences` VALUES ('72','Supplier','5','4','0');
1591
INSERT INTO `glpi_displaypreferences` VALUES ('73','Supplier','10','5','0');
1592
INSERT INTO `glpi_displaypreferences` VALUES ('74','Supplier','6','6','0');
1593
INSERT INTO `glpi_displaypreferences` VALUES ('75','Contract','4','1','0');
1594
INSERT INTO `glpi_displaypreferences` VALUES ('76','Contract','3','2','0');
1595
INSERT INTO `glpi_displaypreferences` VALUES ('77','Contract','5','3','0');
1596
INSERT INTO `glpi_displaypreferences` VALUES ('78','Contract','6','4','0');
1597
INSERT INTO `glpi_displaypreferences` VALUES ('79','Contract','7','5','0');
1598
INSERT INTO `glpi_displaypreferences` VALUES ('80','Contract','11','6','0');
1599
INSERT INTO `glpi_displaypreferences` VALUES ('84','CartridgeItem','23','3','0');
1600
INSERT INTO `glpi_displaypreferences` VALUES ('85','CartridgeItem','3','4','0');
1601
INSERT INTO `glpi_displaypreferences` VALUES ('88','DocumentType','6','2','0');
1602
INSERT INTO `glpi_displaypreferences` VALUES ('89','DocumentType','4','3','0');
1603
INSERT INTO `glpi_displaypreferences` VALUES ('90','DocumentType','5','4','0');
1604
INSERT INTO `glpi_displaypreferences` VALUES ('91','Document','3','1','0');
1605
INSERT INTO `glpi_displaypreferences` VALUES ('92','Document','4','2','0');
1606
INSERT INTO `glpi_displaypreferences` VALUES ('93','Document','7','3','0');
1607
INSERT INTO `glpi_displaypreferences` VALUES ('94','Document','5','4','0');
1608
INSERT INTO `glpi_displaypreferences` VALUES ('95','Document','16','5','0');
1609
INSERT INTO `glpi_displaypreferences` VALUES ('96','User','34','1','0');
1610
INSERT INTO `glpi_displaypreferences` VALUES ('98','User','5','3','0');
1611
INSERT INTO `glpi_displaypreferences` VALUES ('99','User','6','4','0');
1612
INSERT INTO `glpi_displaypreferences` VALUES ('100','User','3','5','0');
1613
INSERT INTO `glpi_displaypreferences` VALUES ('101','ConsumableItem','34','1','0');
1614
INSERT INTO `glpi_displaypreferences` VALUES ('102','ConsumableItem','4','2','0');
1615
INSERT INTO `glpi_displaypreferences` VALUES ('103','ConsumableItem','23','3','0');
1616
INSERT INTO `glpi_displaypreferences` VALUES ('104','ConsumableItem','3','4','0');
1617
INSERT INTO `glpi_displaypreferences` VALUES ('105','NetworkEquipment','40','5','0');
1618
INSERT INTO `glpi_displaypreferences` VALUES ('106','Printer','40','5','0');
1619
INSERT INTO `glpi_displaypreferences` VALUES ('107','Monitor','40','5','0');
1620
INSERT INTO `glpi_displaypreferences` VALUES ('108','Peripheral','40','5','0');
1621
INSERT INTO `glpi_displaypreferences` VALUES ('109','User','8','6','0');
1622
INSERT INTO `glpi_displaypreferences` VALUES ('110','Phone','31','1','0');
1623
INSERT INTO `glpi_displaypreferences` VALUES ('111','Phone','23','2','0');
1624
INSERT INTO `glpi_displaypreferences` VALUES ('112','Phone','3','3','0');
1625
INSERT INTO `glpi_displaypreferences` VALUES ('113','Phone','4','4','0');
1626
INSERT INTO `glpi_displaypreferences` VALUES ('114','Phone','40','5','0');
1627
INSERT INTO `glpi_displaypreferences` VALUES ('115','Phone','19','6','0');
1628
INSERT INTO `glpi_displaypreferences` VALUES ('116','Phone','7','7','0');
1629
INSERT INTO `glpi_displaypreferences` VALUES ('117','Group','16','1','0');
1630
INSERT INTO `glpi_displaypreferences` VALUES ('118','AllAssets','31','1','0');
1631
INSERT INTO `glpi_displaypreferences` VALUES ('119','ReservationItem','4','1','0');
1632
INSERT INTO `glpi_displaypreferences` VALUES ('120','ReservationItem','3','2','0');
1633
INSERT INTO `glpi_displaypreferences` VALUES ('125','Budget','3','2','0');
1634
INSERT INTO `glpi_displaypreferences` VALUES ('122','Software','72','4','0');
1635
INSERT INTO `glpi_displaypreferences` VALUES ('123','Software','163','5','0');
1636
INSERT INTO `glpi_displaypreferences` VALUES ('124','Budget','5','1','0');
1637
INSERT INTO `glpi_displaypreferences` VALUES ('126','Budget','4','3','0');
1638
INSERT INTO `glpi_displaypreferences` VALUES ('127','Budget','19','4','0');
1639
INSERT INTO `glpi_displaypreferences` VALUES ('128','Crontask','8','1','0');
1640
INSERT INTO `glpi_displaypreferences` VALUES ('129','Crontask','3','2','0');
1641
INSERT INTO `glpi_displaypreferences` VALUES ('130','Crontask','4','3','0');
1642
INSERT INTO `glpi_displaypreferences` VALUES ('131','Crontask','7','4','0');
1643
INSERT INTO `glpi_displaypreferences` VALUES ('132','RequestType','14','1','0');
1644
INSERT INTO `glpi_displaypreferences` VALUES ('133','RequestType','15','2','0');
1645
INSERT INTO `glpi_displaypreferences` VALUES ('134','NotificationTemplate','4','1','0');
1646
INSERT INTO `glpi_displaypreferences` VALUES ('135','NotificationTemplate','16','2','0');
1647
INSERT INTO `glpi_displaypreferences` VALUES ('136','Notification','5','1','0');
1648
INSERT INTO `glpi_displaypreferences` VALUES ('137','Notification','6','2','0');
1649
INSERT INTO `glpi_displaypreferences` VALUES ('138','Notification','2','3','0');
1650
INSERT INTO `glpi_displaypreferences` VALUES ('139','Notification','4','4','0');
1651
INSERT INTO `glpi_displaypreferences` VALUES ('140','Notification','80','5','0');
1652
INSERT INTO `glpi_displaypreferences` VALUES ('141','Notification','86','6','0');
1653
INSERT INTO `glpi_displaypreferences` VALUES ('142','MailCollector','2','1','0');
1654
INSERT INTO `glpi_displaypreferences` VALUES ('143','MailCollector','19','2','0');
1655
INSERT INTO `glpi_displaypreferences` VALUES ('144','AuthLDAP','3','1','0');
1656
INSERT INTO `glpi_displaypreferences` VALUES ('145','AuthLDAP','19','2','0');
1657
INSERT INTO `glpi_displaypreferences` VALUES ('146','AuthMail','3','1','0');
1658
INSERT INTO `glpi_displaypreferences` VALUES ('147','AuthMail','19','2','0');
1659
INSERT INTO `glpi_displaypreferences` VALUES ('210','IPNetwork','14','1','0');
1660
INSERT INTO `glpi_displaypreferences` VALUES ('209','WifiNetwork','10','1','0');
1661
INSERT INTO `glpi_displaypreferences` VALUES ('150','Profile','2','1','0');
1662
INSERT INTO `glpi_displaypreferences` VALUES ('151','Profile','3','2','0');
1663
INSERT INTO `glpi_displaypreferences` VALUES ('152','Profile','19','3','0');
1664
INSERT INTO `glpi_displaypreferences` VALUES ('153','Transfer','19','1','0');
1665
INSERT INTO `glpi_displaypreferences` VALUES ('154','TicketValidation','3','1','0');
1666
INSERT INTO `glpi_displaypreferences` VALUES ('155','TicketValidation','2','2','0');
1667
INSERT INTO `glpi_displaypreferences` VALUES ('156','TicketValidation','8','3','0');
1668
INSERT INTO `glpi_displaypreferences` VALUES ('157','TicketValidation','4','4','0');
1669
INSERT INTO `glpi_displaypreferences` VALUES ('158','TicketValidation','9','5','0');
1670
INSERT INTO `glpi_displaypreferences` VALUES ('159','TicketValidation','7','6','0');
1671
INSERT INTO `glpi_displaypreferences` VALUES ('160','NotImportedEmail','2','1','0');
1672
INSERT INTO `glpi_displaypreferences` VALUES ('161','NotImportedEmail','5','2','0');
1673
INSERT INTO `glpi_displaypreferences` VALUES ('162','NotImportedEmail','4','3','0');
1674
INSERT INTO `glpi_displaypreferences` VALUES ('163','NotImportedEmail','6','4','0');
1675
INSERT INTO `glpi_displaypreferences` VALUES ('164','NotImportedEmail','16','5','0');
1676
INSERT INTO `glpi_displaypreferences` VALUES ('165','NotImportedEmail','19','6','0');
1677
INSERT INTO `glpi_displaypreferences` VALUES ('166','RuleRightParameter','11','1','0');
1678
INSERT INTO `glpi_displaypreferences` VALUES ('167','Ticket','12','1','0');
1679
INSERT INTO `glpi_displaypreferences` VALUES ('168','Ticket','19','2','0');
1680
INSERT INTO `glpi_displaypreferences` VALUES ('169','Ticket','15','3','0');
1681
INSERT INTO `glpi_displaypreferences` VALUES ('170','Ticket','3','4','0');
1682
INSERT INTO `glpi_displaypreferences` VALUES ('171','Ticket','4','5','0');
1683
INSERT INTO `glpi_displaypreferences` VALUES ('172','Ticket','5','6','0');
1684
INSERT INTO `glpi_displaypreferences` VALUES ('173','Ticket','7','7','0');
1685
INSERT INTO `glpi_displaypreferences` VALUES ('174','Calendar','19','1','0');
1686
INSERT INTO `glpi_displaypreferences` VALUES ('175','Holiday','11','1','0');
1687
INSERT INTO `glpi_displaypreferences` VALUES ('176','Holiday','12','2','0');
1688
INSERT INTO `glpi_displaypreferences` VALUES ('177','Holiday','13','3','0');
1689
INSERT INTO `glpi_displaypreferences` VALUES ('178','SLA','4','1','0');
1690
INSERT INTO `glpi_displaypreferences` VALUES ('179','Ticket','18','8','0');
1691
INSERT INTO `glpi_displaypreferences` VALUES ('180','AuthLdap','30','3','0');
1692
INSERT INTO `glpi_displaypreferences` VALUES ('181','AuthMail','6','3','0');
1693
INSERT INTO `glpi_displaypreferences` VALUES ('208','FQDN','11','1','0');
1694
INSERT INTO `glpi_displaypreferences` VALUES ('183','FieldUnicity','1','1','0');
1695
INSERT INTO `glpi_displaypreferences` VALUES ('184','FieldUnicity','80','2','0');
1696
INSERT INTO `glpi_displaypreferences` VALUES ('185','FieldUnicity','4','3','0');
1697
INSERT INTO `glpi_displaypreferences` VALUES ('186','FieldUnicity','3','4','0');
1698
INSERT INTO `glpi_displaypreferences` VALUES ('187','FieldUnicity','86','5','0');
1699
INSERT INTO `glpi_displaypreferences` VALUES ('188','FieldUnicity','30','6','0');
1700
INSERT INTO `glpi_displaypreferences` VALUES ('189','Problem','21','1','0');
1701
INSERT INTO `glpi_displaypreferences` VALUES ('190','Problem','12','2','0');
1702
INSERT INTO `glpi_displaypreferences` VALUES ('191','Problem','19','3','0');
1703
INSERT INTO `glpi_displaypreferences` VALUES ('192','Problem','15','4','0');
1704
INSERT INTO `glpi_displaypreferences` VALUES ('193','Problem','3','5','0');
1705
INSERT INTO `glpi_displaypreferences` VALUES ('194','Problem','7','6','0');
1706
INSERT INTO `glpi_displaypreferences` VALUES ('195','Problem','18','7','0');
1707
INSERT INTO `glpi_displaypreferences` VALUES ('196','Vlan','11','1','0');
1708
INSERT INTO `glpi_displaypreferences` VALUES ('197','TicketRecurrent','11','1','0');
1709
INSERT INTO `glpi_displaypreferences` VALUES ('198','TicketRecurrent','12','2','0');
1710
INSERT INTO `glpi_displaypreferences` VALUES ('199','TicketRecurrent','13','3','0');
1711
INSERT INTO `glpi_displaypreferences` VALUES ('200','TicketRecurrent','15','4','0');
1712
INSERT INTO `glpi_displaypreferences` VALUES ('201','TicketRecurrent','14','5','0');
1713
INSERT INTO `glpi_displaypreferences` VALUES ('202','Reminder','2','1','0');
1714
INSERT INTO `glpi_displaypreferences` VALUES ('203','Reminder','3','2','0');
1715
INSERT INTO `glpi_displaypreferences` VALUES ('204','Reminder','4','3','0');
1716
INSERT INTO `glpi_displaypreferences` VALUES ('205','Reminder','5','4','0');
1717
INSERT INTO `glpi_displaypreferences` VALUES ('206','Reminder','6','5','0');
1718
INSERT INTO `glpi_displaypreferences` VALUES ('207','Reminder','7','6','0');
1719
INSERT INTO `glpi_displaypreferences` VALUES ('211','IPNetwork','10','2','0');
1720
INSERT INTO `glpi_displaypreferences` VALUES ('212','IPNetwork','11','3','0');
1721
INSERT INTO `glpi_displaypreferences` VALUES ('213','IPNetwork','12','4','0');
1722
INSERT INTO `glpi_displaypreferences` VALUES ('214','IPNetwork','13','5','0');
1723
INSERT INTO `glpi_displaypreferences` VALUES ('215','NetworkName','12','1','0');
1724
INSERT INTO `glpi_displaypreferences` VALUES ('216','NetworkName','13','2','0');
1725
INSERT INTO `glpi_displaypreferences` VALUES ('217','RSSFeed','2','1','0');
1726
INSERT INTO `glpi_displaypreferences` VALUES ('218','RSSFeed','4','2','0');
1727
INSERT INTO `glpi_displaypreferences` VALUES ('219','RSSFeed','5','3','0');
1728
INSERT INTO `glpi_displaypreferences` VALUES ('220','RSSFeed','19','4','0');
1729
INSERT INTO `glpi_displaypreferences` VALUES ('221','RSSFeed','6','5','0');
1730
INSERT INTO `glpi_displaypreferences` VALUES ('222','RSSFeed','7','6','0');
1731
INSERT INTO `glpi_displaypreferences` VALUES ('223','Blacklist','12','1','0');
1732
INSERT INTO `glpi_displaypreferences` VALUES ('224','Blacklist','11','2','0');
1733
INSERT INTO `glpi_displaypreferences` VALUES ('225','ReservationItem','5','3','0');
1734
INSERT INTO `glpi_displaypreferences` VALUES ('226','QueueMail','16','1','0');
1735
INSERT INTO `glpi_displaypreferences` VALUES ('227','QueueMail','7','2','0');
1736
INSERT INTO `glpi_displaypreferences` VALUES ('228','QueueMail','20','3','0');
1737
INSERT INTO `glpi_displaypreferences` VALUES ('229','QueueMail','21','4','0');
1738
INSERT INTO `glpi_displaypreferences` VALUES ('230','QueueMail','22','5','0');
1739
INSERT INTO `glpi_displaypreferences` VALUES ('231','QueueMail','15','6','0');
1740
INSERT INTO `glpi_displaypreferences` VALUES ('232','Change','12','1','0');
1741
INSERT INTO `glpi_displaypreferences` VALUES ('233','Change','19','2','0');
1742
INSERT INTO `glpi_displaypreferences` VALUES ('234','Change','15','3','0');
1743
INSERT INTO `glpi_displaypreferences` VALUES ('235','Change','7','4','0');
1744
INSERT INTO `glpi_displaypreferences` VALUES ('236','Change','18','5','0');
1745
INSERT INTO `glpi_displaypreferences` VALUES ('237','Project','3','1','0');
1746
INSERT INTO `glpi_displaypreferences` VALUES ('238','Project','4','2','0');
1747
INSERT INTO `glpi_displaypreferences` VALUES ('239','Project','12','3','0');
1748
INSERT INTO `glpi_displaypreferences` VALUES ('240','Project','5','4','0');
1749
INSERT INTO `glpi_displaypreferences` VALUES ('241','Project','15','5','0');
1750
INSERT INTO `glpi_displaypreferences` VALUES ('242','Project','21','6','0');
1751
INSERT INTO `glpi_displaypreferences` VALUES ('243','ProjectState','12','1','0');
1752
INSERT INTO `glpi_displaypreferences` VALUES ('244','ProjectState','11','2','0');
1753
INSERT INTO `glpi_displaypreferences` VALUES ('245','ProjectTask','2','1','0');
1754
INSERT INTO `glpi_displaypreferences` VALUES ('246','ProjectTask','12','2','0');
1755
INSERT INTO `glpi_displaypreferences` VALUES ('247','ProjectTask','14','3','0');
1756
INSERT INTO `glpi_displaypreferences` VALUES ('248','ProjectTask','5','4','0');
1757
INSERT INTO `glpi_displaypreferences` VALUES ('249','ProjectTask','7','5','0');
1758
INSERT INTO `glpi_displaypreferences` VALUES ('250','ProjectTask','8','6','0');
1759
INSERT INTO `glpi_displaypreferences` VALUES ('251','ProjectTask','13','7','0');
1760
INSERT INTO `glpi_displaypreferences` VALUES ('252','CartridgeItem','9','5','0');
1761
INSERT INTO `glpi_displaypreferences` VALUES ('253','ConsumableItem','9','5','0');
1762
INSERT INTO `glpi_displaypreferences` VALUES ('254','ReservationItem','9','4','0');
1763

  
1764
### Dump table glpi_documentcategories
1765

  
1766
DROP TABLE IF EXISTS `glpi_documentcategories`;
1767
CREATE TABLE `glpi_documentcategories` (
1768
  `id` int(11) NOT NULL AUTO_INCREMENT,
1769
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1770
  `comment` text COLLATE utf8_unicode_ci,
1771
  `documentcategories_id` int(11) NOT NULL DEFAULT '0',
1772
  `completename` text COLLATE utf8_unicode_ci,
1773
  `level` int(11) NOT NULL DEFAULT '0',
1774
  `ancestors_cache` longtext COLLATE utf8_unicode_ci,
1775
  `sons_cache` longtext COLLATE utf8_unicode_ci,
1776
  PRIMARY KEY (`id`),
1777
  KEY `name` (`name`),
1778
  KEY `unicity` (`documentcategories_id`,`name`)
1779
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1780

  
1781

  
1782
### Dump table glpi_documents
1783

  
1784
DROP TABLE IF EXISTS `glpi_documents`;
1785
CREATE TABLE `glpi_documents` (
1786
  `id` int(11) NOT NULL AUTO_INCREMENT,
1787
  `entities_id` int(11) NOT NULL DEFAULT '0',
1788
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1789
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1790
  `filename` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'for display and transfert',
1791
  `filepath` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'file storage path',
1792
  `documentcategories_id` int(11) NOT NULL DEFAULT '0',
1793
  `mime` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1794
  `date_mod` datetime DEFAULT NULL,
1795
  `comment` text COLLATE utf8_unicode_ci,
1796
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
1797
  `link` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1798
  `users_id` int(11) NOT NULL DEFAULT '0',
1799
  `tickets_id` int(11) NOT NULL DEFAULT '0',
1800
  `sha1sum` char(40) COLLATE utf8_unicode_ci DEFAULT NULL,
1801
  `is_blacklisted` tinyint(1) NOT NULL DEFAULT '0',
1802
  `tag` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1803
  PRIMARY KEY (`id`),
1804
  KEY `date_mod` (`date_mod`),
1805
  KEY `name` (`name`),
1806
  KEY `entities_id` (`entities_id`),
1807
  KEY `tickets_id` (`tickets_id`),
1808
  KEY `users_id` (`users_id`),
1809
  KEY `documentcategories_id` (`documentcategories_id`),
1810
  KEY `is_deleted` (`is_deleted`),
1811
  KEY `sha1sum` (`sha1sum`),
1812
  KEY `tag` (`tag`)
1813
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1814

  
1815

  
1816
### Dump table glpi_documents_items
1817

  
1818
DROP TABLE IF EXISTS `glpi_documents_items`;
1819
CREATE TABLE `glpi_documents_items` (
1820
  `id` int(11) NOT NULL AUTO_INCREMENT,
1821
  `documents_id` int(11) NOT NULL DEFAULT '0',
1822
  `items_id` int(11) NOT NULL DEFAULT '0',
1823
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
1824
  `entities_id` int(11) NOT NULL DEFAULT '0',
1825
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1826
  `date_mod` datetime DEFAULT NULL,
1827
  PRIMARY KEY (`id`),
1828
  UNIQUE KEY `unicity` (`documents_id`,`itemtype`,`items_id`),
1829
  KEY `item` (`itemtype`,`items_id`,`entities_id`,`is_recursive`)
1830
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1831

  
1832

  
1833
### Dump table glpi_documenttypes
1834

  
1835
DROP TABLE IF EXISTS `glpi_documenttypes`;
1836
CREATE TABLE `glpi_documenttypes` (
1837
  `id` int(11) NOT NULL AUTO_INCREMENT,
1838
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1839
  `ext` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1840
  `icon` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1841
  `mime` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1842
  `is_uploadable` tinyint(1) NOT NULL DEFAULT '1',
1843
  `date_mod` datetime DEFAULT NULL,
1844
  `comment` text COLLATE utf8_unicode_ci,
1845
  PRIMARY KEY (`id`),
1846
  UNIQUE KEY `unicity` (`ext`),
1847
  KEY `name` (`name`),
1848
  KEY `is_uploadable` (`is_uploadable`),
1849
  KEY `date_mod` (`date_mod`)
1850
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1851

  
1852
INSERT INTO `glpi_documenttypes` VALUES ('1','JPEG','jpg','jpg-dist.png','','1','2004-12-13 19:47:21',NULL);
1853
INSERT INTO `glpi_documenttypes` VALUES ('2','PNG','png','png-dist.png','','1','2004-12-13 19:47:21',NULL);
1854
INSERT INTO `glpi_documenttypes` VALUES ('3','GIF','gif','gif-dist.png','','1','2004-12-13 19:47:21',NULL);
1855
INSERT INTO `glpi_documenttypes` VALUES ('4','BMP','bmp','bmp-dist.png','','1','2004-12-13 19:47:21',NULL);
1856
INSERT INTO `glpi_documenttypes` VALUES ('5','Photoshop','psd','psd-dist.png','','1','2004-12-13 19:47:21',NULL);
1857
INSERT INTO `glpi_documenttypes` VALUES ('6','TIFF','tif','tif-dist.png','','1','2004-12-13 19:47:21',NULL);
1858
INSERT INTO `glpi_documenttypes` VALUES ('7','AIFF','aiff','aiff-dist.png','','1','2004-12-13 19:47:21',NULL);
1859
INSERT INTO `glpi_documenttypes` VALUES ('8','Windows Media','asf','asf-dist.png','','1','2004-12-13 19:47:21',NULL);
1860
INSERT INTO `glpi_documenttypes` VALUES ('9','Windows Media','avi','avi-dist.png','','1','2004-12-13 19:47:21',NULL);
1861
INSERT INTO `glpi_documenttypes` VALUES ('44','C source','c','c-dist.png','','1','2011-12-06 09:48:34',NULL);
1862
INSERT INTO `glpi_documenttypes` VALUES ('27','RealAudio','rm','rm-dist.png','','1','2004-12-13 19:47:21',NULL);
1863
INSERT INTO `glpi_documenttypes` VALUES ('16','Midi','mid','mid-dist.png','','1','2004-12-13 19:47:21',NULL);
1864
INSERT INTO `glpi_documenttypes` VALUES ('17','QuickTime','mov','mov-dist.png','','1','2004-12-13 19:47:21',NULL);
1865
INSERT INTO `glpi_documenttypes` VALUES ('18','MP3','mp3','mp3-dist.png','','1','2004-12-13 19:47:21',NULL);
1866
INSERT INTO `glpi_documenttypes` VALUES ('19','MPEG','mpg','mpg-dist.png','','1','2004-12-13 19:47:21',NULL);
1867
INSERT INTO `glpi_documenttypes` VALUES ('20','Ogg Vorbis','ogg','ogg-dist.png','','1','2004-12-13 19:47:21',NULL);
1868
INSERT INTO `glpi_documenttypes` VALUES ('24','QuickTime','qt','qt-dist.png','','1','2004-12-13 19:47:21',NULL);
1869
INSERT INTO `glpi_documenttypes` VALUES ('10','BZip','bz2','bz2-dist.png','','1','2004-12-13 19:47:21',NULL);
1870
INSERT INTO `glpi_documenttypes` VALUES ('25','RealAudio','ra','ra-dist.png','','1','2004-12-13 19:47:21',NULL);
1871
INSERT INTO `glpi_documenttypes` VALUES ('26','RealAudio','ram','ram-dist.png','','1','2004-12-13 19:47:21',NULL);
1872
INSERT INTO `glpi_documenttypes` VALUES ('11','Word','doc','doc-dist.png','','1','2004-12-13 19:47:21',NULL);
1873
INSERT INTO `glpi_documenttypes` VALUES ('12','DjVu','djvu','','','1','2004-12-13 19:47:21',NULL);
1874
INSERT INTO `glpi_documenttypes` VALUES ('42','MNG','mng','','','1','2004-12-13 19:47:22',NULL);
1875
INSERT INTO `glpi_documenttypes` VALUES ('13','PostScript','eps','ps-dist.png','','1','2004-12-13 19:47:21',NULL);
1876
INSERT INTO `glpi_documenttypes` VALUES ('14','GZ','gz','gz-dist.png','','1','2004-12-13 19:47:21',NULL);
1877
INSERT INTO `glpi_documenttypes` VALUES ('37','WAV','wav','wav-dist.png','','1','2004-12-13 19:47:22',NULL);
1878
INSERT INTO `glpi_documenttypes` VALUES ('15','HTML','html','html-dist.png','','1','2004-12-13 19:47:21',NULL);
1879
INSERT INTO `glpi_documenttypes` VALUES ('34','Flash','swf','swf-dist.png','','1','2011-12-06 09:48:34',NULL);
1880
INSERT INTO `glpi_documenttypes` VALUES ('21','PDF','pdf','pdf-dist.png','','1','2004-12-13 19:47:21',NULL);
1881
INSERT INTO `glpi_documenttypes` VALUES ('22','PowerPoint','ppt','ppt-dist.png','','1','2004-12-13 19:47:21',NULL);
1882
INSERT INTO `glpi_documenttypes` VALUES ('23','PostScript','ps','ps-dist.png','','1','2004-12-13 19:47:21',NULL);
1883
INSERT INTO `glpi_documenttypes` VALUES ('40','Windows Media','wmv','wmv-dist.png','','1','2011-12-06 09:48:34',NULL);
1884
INSERT INTO `glpi_documenttypes` VALUES ('28','RTF','rtf','rtf-dist.png','','1','2004-12-13 19:47:21',NULL);
1885
INSERT INTO `glpi_documenttypes` VALUES ('29','StarOffice','sdd','sdd-dist.png','','1','2004-12-13 19:47:22',NULL);
1886
INSERT INTO `glpi_documenttypes` VALUES ('30','StarOffice','sdw','sdw-dist.png','','1','2004-12-13 19:47:22',NULL);
1887
INSERT INTO `glpi_documenttypes` VALUES ('31','Stuffit','sit','sit-dist.png','','1','2004-12-13 19:47:22',NULL);
1888
INSERT INTO `glpi_documenttypes` VALUES ('43','Adobe Illustrator','ai','ai-dist.png','','1','2004-12-13 19:47:22',NULL);
1889
INSERT INTO `glpi_documenttypes` VALUES ('32','OpenOffice Impress','sxi','sxi-dist.png','','1','2004-12-13 19:47:22',NULL);
1890
INSERT INTO `glpi_documenttypes` VALUES ('33','OpenOffice','sxw','sxw-dist.png','','1','2004-12-13 19:47:22',NULL);
1891
INSERT INTO `glpi_documenttypes` VALUES ('46','DVI','dvi','dvi-dist.png','','1','2004-12-13 19:47:22',NULL);
1892
INSERT INTO `glpi_documenttypes` VALUES ('35','TGZ','tgz','tgz-dist.png','','1','2004-12-13 19:47:22',NULL);
1893
INSERT INTO `glpi_documenttypes` VALUES ('36','texte','txt','txt-dist.png','','1','2004-12-13 19:47:22',NULL);
1894
INSERT INTO `glpi_documenttypes` VALUES ('49','RedHat/Mandrake/SuSE','rpm','rpm-dist.png','','1','2004-12-13 19:47:22',NULL);
1895
INSERT INTO `glpi_documenttypes` VALUES ('38','Excel','xls','xls-dist.png','','1','2004-12-13 19:47:22',NULL);
1896
INSERT INTO `glpi_documenttypes` VALUES ('39','XML','xml','xml-dist.png','','1','2004-12-13 19:47:22',NULL);
1897
INSERT INTO `glpi_documenttypes` VALUES ('41','Zip','zip','zip-dist.png','','1','2011-12-06 09:48:34',NULL);
1898
INSERT INTO `glpi_documenttypes` VALUES ('45','Debian','deb','deb-dist.png','','1','2004-12-13 19:47:22',NULL);
1899
INSERT INTO `glpi_documenttypes` VALUES ('47','C header','h','h-dist.png','','1','2011-12-06 09:48:34',NULL);
1900
INSERT INTO `glpi_documenttypes` VALUES ('48','Pascal','pas','pas-dist.png','','1','2011-12-06 09:48:34',NULL);
1901
INSERT INTO `glpi_documenttypes` VALUES ('50','OpenOffice Calc','sxc','sxc-dist.png','','1','2004-12-13 19:47:22',NULL);
1902
INSERT INTO `glpi_documenttypes` VALUES ('51','LaTeX','tex','tex-dist.png','','1','2004-12-13 19:47:22',NULL);
1903
INSERT INTO `glpi_documenttypes` VALUES ('52','GIMP multi-layer','xcf','xcf-dist.png','','1','2004-12-13 19:47:22',NULL);
1904
INSERT INTO `glpi_documenttypes` VALUES ('53','JPEG','jpeg','jpg-dist.png','','1','2005-03-07 22:23:17',NULL);
1905
INSERT INTO `glpi_documenttypes` VALUES ('54','Oasis Open Office Writer','odt','odt-dist.png','','1','2006-01-21 17:41:13',NULL);
1906
INSERT INTO `glpi_documenttypes` VALUES ('55','Oasis Open Office Calc','ods','ods-dist.png','','1','2006-01-21 17:41:31',NULL);
1907
INSERT INTO `glpi_documenttypes` VALUES ('56','Oasis Open Office Impress','odp','odp-dist.png','','1','2006-01-21 17:42:54',NULL);
1908
INSERT INTO `glpi_documenttypes` VALUES ('57','Oasis Open Office Impress Template','otp','odp-dist.png','','1','2006-01-21 17:43:58',NULL);
1909
INSERT INTO `glpi_documenttypes` VALUES ('58','Oasis Open Office Writer Template','ott','odt-dist.png','','1','2006-01-21 17:44:41',NULL);
1910
INSERT INTO `glpi_documenttypes` VALUES ('59','Oasis Open Office Calc Template','ots','ods-dist.png','','1','2006-01-21 17:45:30',NULL);
1911
INSERT INTO `glpi_documenttypes` VALUES ('60','Oasis Open Office Math','odf','odf-dist.png','','1','2006-01-21 17:48:05',NULL);
1912
INSERT INTO `glpi_documenttypes` VALUES ('61','Oasis Open Office Draw','odg','odg-dist.png','','1','2006-01-21 17:48:31',NULL);
1913
INSERT INTO `glpi_documenttypes` VALUES ('62','Oasis Open Office Draw Template','otg','odg-dist.png','','1','2006-01-21 17:49:46',NULL);
1914
INSERT INTO `glpi_documenttypes` VALUES ('63','Oasis Open Office Base','odb','odb-dist.png','','1','2006-01-21 18:03:34',NULL);
1915
INSERT INTO `glpi_documenttypes` VALUES ('64','Oasis Open Office HTML','oth','oth-dist.png','','1','2006-01-21 18:05:27',NULL);
1916
INSERT INTO `glpi_documenttypes` VALUES ('65','Oasis Open Office Writer Master','odm','odm-dist.png','','1','2006-01-21 18:06:34',NULL);
1917
INSERT INTO `glpi_documenttypes` VALUES ('66','Oasis Open Office Chart','odc','','','1','2006-01-21 18:07:48',NULL);
1918
INSERT INTO `glpi_documenttypes` VALUES ('67','Oasis Open Office Image','odi','','','1','2006-01-21 18:08:18',NULL);
1919
INSERT INTO `glpi_documenttypes` VALUES ('68','Word XML','docx','doc-dist.png',NULL,'1','2011-01-18 11:40:42',NULL);
1920
INSERT INTO `glpi_documenttypes` VALUES ('69','Excel XML','xlsx','xls-dist.png',NULL,'1','2011-01-18 11:40:42',NULL);
1921
INSERT INTO `glpi_documenttypes` VALUES ('70','PowerPoint XML','pptx','ppt-dist.png',NULL,'1','2011-01-18 11:40:42',NULL);
1922
INSERT INTO `glpi_documenttypes` VALUES ('71','Comma-Separated Values','csv','csv-dist.png',NULL,'1','2011-12-06 09:48:34',NULL);
1923
INSERT INTO `glpi_documenttypes` VALUES ('72','Scalable Vector Graphics','svg','svg-dist.png',NULL,'1','2011-12-06 09:48:34',NULL);
1924

  
1925
### Dump table glpi_domains
1926

  
1927
DROP TABLE IF EXISTS `glpi_domains`;
1928
CREATE TABLE `glpi_domains` (
1929
  `id` int(11) NOT NULL AUTO_INCREMENT,
1930
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1931
  `entities_id` int(11) NOT NULL DEFAULT '0',
1932
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
1933
  `comment` text COLLATE utf8_unicode_ci,
1934
  PRIMARY KEY (`id`),
1935
  KEY `name` (`name`)
1936
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1937

  
1938

  
1939
### Dump table glpi_dropdowntranslations
1940

  
1941
DROP TABLE IF EXISTS `glpi_dropdowntranslations`;
1942
CREATE TABLE `glpi_dropdowntranslations` (
1943
  `id` int(11) NOT NULL AUTO_INCREMENT,
1944
  `items_id` int(11) NOT NULL DEFAULT '0',
1945
  `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
1946
  `language` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL,
1947
  `field` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
1948
  `value` text COLLATE utf8_unicode_ci,
1949
  PRIMARY KEY (`id`),
1950
  UNIQUE KEY `unicity` (`itemtype`,`items_id`,`language`,`field`),
1951
  KEY `typeid` (`itemtype`,`items_id`),
1952
  KEY `language` (`language`),
1953
  KEY `field` (`field`)
1954
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1955

  
1956

  
1957
### Dump table glpi_entities
1958

  
1959
DROP TABLE IF EXISTS `glpi_entities`;
1960
CREATE TABLE `glpi_entities` (
1961
  `id` int(11) NOT NULL DEFAULT '0',
1962
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1963
  `entities_id` int(11) NOT NULL DEFAULT '0',
1964
  `completename` text COLLATE utf8_unicode_ci,
1965
  `comment` text COLLATE utf8_unicode_ci,
1966
  `level` int(11) NOT NULL DEFAULT '0',
1967
  `sons_cache` longtext COLLATE utf8_unicode_ci,
1968
  `ancestors_cache` longtext COLLATE utf8_unicode_ci,
1969
  `address` text COLLATE utf8_unicode_ci,
1970
  `postcode` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1971
  `town` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1972
  `state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1973
  `country` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1974
  `website` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1975
  `phonenumber` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1976
  `fax` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1977
  `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1978
  `admin_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1979
  `admin_email_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1980
  `admin_reply` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1981
  `admin_reply_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1982
  `notification_subject_tag` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1983
  `ldap_dn` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1984
  `tag` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1985
  `authldaps_id` int(11) NOT NULL DEFAULT '0',
1986
  `mail_domain` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
1987
  `entity_ldapfilter` text COLLATE utf8_unicode_ci,
1988
  `mailing_signature` text COLLATE utf8_unicode_ci,
1989
  `cartridges_alert_repeat` int(11) NOT NULL DEFAULT '-2',
1990
  `consumables_alert_repeat` int(11) NOT NULL DEFAULT '-2',
1991
  `use_licenses_alert` int(11) NOT NULL DEFAULT '-2',
1992
  `send_licenses_alert_before_delay` int(11) NOT NULL DEFAULT '-2',
1993
  `use_contracts_alert` int(11) NOT NULL DEFAULT '-2',
1994
  `send_contracts_alert_before_delay` int(11) NOT NULL DEFAULT '-2',
1995
  `use_infocoms_alert` int(11) NOT NULL DEFAULT '-2',
1996
  `send_infocoms_alert_before_delay` int(11) NOT NULL DEFAULT '-2',
1997
  `use_reservations_alert` int(11) NOT NULL DEFAULT '-2',
1998
  `autoclose_delay` int(11) NOT NULL DEFAULT '-2',
1999
  `notclosed_delay` int(11) NOT NULL DEFAULT '-2',
2000
  `calendars_id` int(11) NOT NULL DEFAULT '-2',
2001
  `auto_assign_mode` int(11) NOT NULL DEFAULT '-2',
2002
  `tickettype` int(11) NOT NULL DEFAULT '-2',
2003
  `max_closedate` datetime DEFAULT NULL,
2004
  `inquest_config` int(11) NOT NULL DEFAULT '-2',
2005
  `inquest_rate` int(11) NOT NULL DEFAULT '0',
2006
  `inquest_delay` int(11) NOT NULL DEFAULT '-10',
2007
  `inquest_URL` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2008
  `autofill_warranty_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '-2',
2009
  `autofill_use_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '-2',
2010
  `autofill_buy_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '-2',
2011
  `autofill_delivery_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '-2',
2012
  `autofill_order_date` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '-2',
2013
  `tickettemplates_id` int(11) NOT NULL DEFAULT '-2',
2014
  `entities_id_software` int(11) NOT NULL DEFAULT '-2',
2015
  `default_contract_alert` int(11) NOT NULL DEFAULT '-2',
2016
  `default_infocom_alert` int(11) NOT NULL DEFAULT '-2',
2017
  `default_cartridges_alarm_threshold` int(11) NOT NULL DEFAULT '-2',
2018
  `default_consumables_alarm_threshold` int(11) NOT NULL DEFAULT '-2',
2019
  `delay_send_emails` int(11) NOT NULL DEFAULT '-2',
2020
  PRIMARY KEY (`id`),
2021
  UNIQUE KEY `unicity` (`entities_id`,`name`),
2022
  KEY `entities_id` (`entities_id`)
2023
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2024

  
2025
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');
2026

  
2027
### Dump table glpi_entities_knowbaseitems
2028

  
2029
DROP TABLE IF EXISTS `glpi_entities_knowbaseitems`;
2030
CREATE TABLE `glpi_entities_knowbaseitems` (
2031
  `id` int(11) NOT NULL AUTO_INCREMENT,
2032
  `knowbaseitems_id` int(11) NOT NULL DEFAULT '0',
2033
  `entities_id` int(11) NOT NULL DEFAULT '0',
2034
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2035
  PRIMARY KEY (`id`),
2036
  KEY `knowbaseitems_id` (`knowbaseitems_id`),
2037
  KEY `entities_id` (`entities_id`),
2038
  KEY `is_recursive` (`is_recursive`)
2039
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2040

  
2041

  
2042
### Dump table glpi_entities_reminders
2043

  
2044
DROP TABLE IF EXISTS `glpi_entities_reminders`;
2045
CREATE TABLE `glpi_entities_reminders` (
2046
  `id` int(11) NOT NULL AUTO_INCREMENT,
2047
  `reminders_id` int(11) NOT NULL DEFAULT '0',
2048
  `entities_id` int(11) NOT NULL DEFAULT '0',
2049
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2050
  PRIMARY KEY (`id`),
2051
  KEY `reminders_id` (`reminders_id`),
2052
  KEY `entities_id` (`entities_id`),
2053
  KEY `is_recursive` (`is_recursive`)
2054
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2055

  
2056

  
2057
### Dump table glpi_entities_rssfeeds
2058

  
2059
DROP TABLE IF EXISTS `glpi_entities_rssfeeds`;
2060
CREATE TABLE `glpi_entities_rssfeeds` (
2061
  `id` int(11) NOT NULL AUTO_INCREMENT,
2062
  `rssfeeds_id` int(11) NOT NULL DEFAULT '0',
2063
  `entities_id` int(11) NOT NULL DEFAULT '0',
2064
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2065
  PRIMARY KEY (`id`),
2066
  KEY `rssfeeds_id` (`rssfeeds_id`),
2067
  KEY `entities_id` (`entities_id`),
2068
  KEY `is_recursive` (`is_recursive`)
2069
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2070

  
2071

  
2072
### Dump table glpi_entities_slas
2073

  
2074
DROP TABLE IF EXISTS `glpi_entities_slas`;
2075
CREATE TABLE `glpi_entities_slas` (
2076
  `id` int(11) NOT NULL AUTO_INCREMENT,
2077
  `slas_id` int(11) NOT NULL DEFAULT '0',
2078
  `entities_id` int(11) NOT NULL DEFAULT '0',
2079
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2080
  PRIMARY KEY (`id`),
2081
  KEY `slas_id` (`slas_id`),
2082
  KEY `entities_id` (`entities_id`),
2083
  KEY `is_recursive` (`is_recursive`)
2084
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2085

  
2086

  
2087
### Dump table glpi_events
2088

  
2089
DROP TABLE IF EXISTS `glpi_events`;
2090
CREATE TABLE `glpi_events` (
2091
  `id` int(11) NOT NULL AUTO_INCREMENT,
2092
  `items_id` int(11) NOT NULL DEFAULT '0',
2093
  `type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2094
  `date` datetime DEFAULT NULL,
2095
  `service` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2096
  `level` int(11) NOT NULL DEFAULT '0',
2097
  `message` text COLLATE utf8_unicode_ci,
2098
  PRIMARY KEY (`id`),
2099
  KEY `date` (`date`),
2100
  KEY `level` (`level`),
2101
  KEY `item` (`type`,`items_id`)
2102
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2103

  
2104

  
2105
### Dump table glpi_fieldblacklists
2106

  
2107
DROP TABLE IF EXISTS `glpi_fieldblacklists`;
2108
CREATE TABLE `glpi_fieldblacklists` (
2109
  `id` int(11) NOT NULL AUTO_INCREMENT,
2110
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
2111
  `field` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
2112
  `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
2113
  `itemtype` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
2114
  `entities_id` int(11) NOT NULL DEFAULT '0',
2115
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2116
  `comment` text COLLATE utf8_unicode_ci,
2117
  PRIMARY KEY (`id`),
2118
  KEY `name` (`name`)
2119
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2120

  
2121

  
2122
### Dump table glpi_fieldunicities
2123

  
2124
DROP TABLE IF EXISTS `glpi_fieldunicities`;
2125
CREATE TABLE `glpi_fieldunicities` (
2126
  `id` int(11) NOT NULL AUTO_INCREMENT,
2127
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
2128
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2129
  `itemtype` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
2130
  `entities_id` int(11) NOT NULL DEFAULT '-1',
2131
  `fields` text COLLATE utf8_unicode_ci,
2132
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
2133
  `action_refuse` tinyint(1) NOT NULL DEFAULT '0',
2134
  `action_notify` tinyint(1) NOT NULL DEFAULT '0',
2135
  `comment` text COLLATE utf8_unicode_ci,
2136
  PRIMARY KEY (`id`)
2137
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores field unicity criterias';
2138

  
2139

  
2140
### Dump table glpi_filesystems
2141

  
2142
DROP TABLE IF EXISTS `glpi_filesystems`;
2143
CREATE TABLE `glpi_filesystems` (
2144
  `id` int(11) NOT NULL AUTO_INCREMENT,
2145
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2146
  `comment` text COLLATE utf8_unicode_ci,
2147
  PRIMARY KEY (`id`),
2148
  KEY `name` (`name`)
2149
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2150

  
2151
INSERT INTO `glpi_filesystems` VALUES ('1','ext',NULL);
2152
INSERT INTO `glpi_filesystems` VALUES ('2','ext2',NULL);
2153
INSERT INTO `glpi_filesystems` VALUES ('3','ext3',NULL);
2154
INSERT INTO `glpi_filesystems` VALUES ('4','ext4',NULL);
2155
INSERT INTO `glpi_filesystems` VALUES ('5','FAT',NULL);
2156
INSERT INTO `glpi_filesystems` VALUES ('6','FAT32',NULL);
2157
INSERT INTO `glpi_filesystems` VALUES ('7','VFAT',NULL);
2158
INSERT INTO `glpi_filesystems` VALUES ('8','HFS',NULL);
2159
INSERT INTO `glpi_filesystems` VALUES ('9','HPFS',NULL);
2160
INSERT INTO `glpi_filesystems` VALUES ('10','HTFS',NULL);
2161
INSERT INTO `glpi_filesystems` VALUES ('11','JFS',NULL);
2162
INSERT INTO `glpi_filesystems` VALUES ('12','JFS2',NULL);
2163
INSERT INTO `glpi_filesystems` VALUES ('13','NFS',NULL);
2164
INSERT INTO `glpi_filesystems` VALUES ('14','NTFS',NULL);
2165
INSERT INTO `glpi_filesystems` VALUES ('15','ReiserFS',NULL);
2166
INSERT INTO `glpi_filesystems` VALUES ('16','SMBFS',NULL);
2167
INSERT INTO `glpi_filesystems` VALUES ('17','UDF',NULL);
2168
INSERT INTO `glpi_filesystems` VALUES ('18','UFS',NULL);
2169
INSERT INTO `glpi_filesystems` VALUES ('19','XFS',NULL);
2170
INSERT INTO `glpi_filesystems` VALUES ('20','ZFS',NULL);
2171

  
2172
### Dump table glpi_fqdns
2173

  
2174
DROP TABLE IF EXISTS `glpi_fqdns`;
2175
CREATE TABLE `glpi_fqdns` (
2176
  `id` int(11) NOT NULL AUTO_INCREMENT,
2177
  `entities_id` int(11) NOT NULL DEFAULT '0',
2178
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2179
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2180
  `fqdn` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2181
  `comment` text COLLATE utf8_unicode_ci,
2182
  PRIMARY KEY (`id`),
2183
  KEY `entities_id` (`entities_id`),
2184
  KEY `name` (`name`),
2185
  KEY `fqdn` (`fqdn`),
2186
  KEY `is_recursive` (`is_recursive`)
2187
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2188

  
2189

  
2190
### Dump table glpi_groups
2191

  
2192
DROP TABLE IF EXISTS `glpi_groups`;
2193
CREATE TABLE `glpi_groups` (
2194
  `id` int(11) NOT NULL AUTO_INCREMENT,
2195
  `entities_id` int(11) NOT NULL DEFAULT '0',
2196
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2197
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2198
  `comment` text COLLATE utf8_unicode_ci,
2199
  `ldap_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2200
  `ldap_value` text COLLATE utf8_unicode_ci,
2201
  `ldap_group_dn` text COLLATE utf8_unicode_ci,
2202
  `date_mod` datetime DEFAULT NULL,
2203
  `groups_id` int(11) NOT NULL DEFAULT '0',
2204
  `completename` text COLLATE utf8_unicode_ci,
2205
  `level` int(11) NOT NULL DEFAULT '0',
2206
  `ancestors_cache` longtext COLLATE utf8_unicode_ci,
2207
  `sons_cache` longtext COLLATE utf8_unicode_ci,
2208
  `is_requester` tinyint(1) NOT NULL DEFAULT '1',
2209
  `is_assign` tinyint(1) NOT NULL DEFAULT '1',
2210
  `is_notify` tinyint(1) NOT NULL DEFAULT '1',
2211
  `is_itemgroup` tinyint(1) NOT NULL DEFAULT '1',
2212
  `is_usergroup` tinyint(1) NOT NULL DEFAULT '1',
2213
  `is_manager` tinyint(1) NOT NULL DEFAULT '1',
2214
  PRIMARY KEY (`id`),
2215
  KEY `name` (`name`),
2216
  KEY `ldap_field` (`ldap_field`),
2217
  KEY `entities_id` (`entities_id`),
2218
  KEY `date_mod` (`date_mod`),
2219
  KEY `ldap_value` (`ldap_value`(200)),
2220
  KEY `ldap_group_dn` (`ldap_group_dn`(200)),
2221
  KEY `groups_id` (`groups_id`),
2222
  KEY `is_requester` (`is_requester`),
2223
  KEY `is_assign` (`is_assign`),
2224
  KEY `is_notify` (`is_notify`),
2225
  KEY `is_itemgroup` (`is_itemgroup`),
2226
  KEY `is_usergroup` (`is_usergroup`),
2227
  KEY `is_manager` (`is_manager`)
2228
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2229

  
2230

  
2231
### Dump table glpi_groups_knowbaseitems
2232

  
2233
DROP TABLE IF EXISTS `glpi_groups_knowbaseitems`;
2234
CREATE TABLE `glpi_groups_knowbaseitems` (
2235
  `id` int(11) NOT NULL AUTO_INCREMENT,
2236
  `knowbaseitems_id` int(11) NOT NULL DEFAULT '0',
2237
  `groups_id` int(11) NOT NULL DEFAULT '0',
2238
  `entities_id` int(11) NOT NULL DEFAULT '-1',
2239
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2240
  PRIMARY KEY (`id`),
2241
  KEY `knowbaseitems_id` (`knowbaseitems_id`),
2242
  KEY `groups_id` (`groups_id`),
2243
  KEY `entities_id` (`entities_id`),
2244
  KEY `is_recursive` (`is_recursive`)
2245
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2246

  
2247

  
2248
### Dump table glpi_groups_problems
2249

  
2250
DROP TABLE IF EXISTS `glpi_groups_problems`;
2251
CREATE TABLE `glpi_groups_problems` (
2252
  `id` int(11) NOT NULL AUTO_INCREMENT,
2253
  `problems_id` int(11) NOT NULL DEFAULT '0',
2254
  `groups_id` int(11) NOT NULL DEFAULT '0',
2255
  `type` int(11) NOT NULL DEFAULT '1',
2256
  PRIMARY KEY (`id`),
2257
  UNIQUE KEY `unicity` (`problems_id`,`type`,`groups_id`),
2258
  KEY `group` (`groups_id`,`type`)
2259
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2260

  
2261

  
2262
### Dump table glpi_groups_reminders
2263

  
2264
DROP TABLE IF EXISTS `glpi_groups_reminders`;
2265
CREATE TABLE `glpi_groups_reminders` (
2266
  `id` int(11) NOT NULL AUTO_INCREMENT,
2267
  `reminders_id` int(11) NOT NULL DEFAULT '0',
2268
  `groups_id` int(11) NOT NULL DEFAULT '0',
2269
  `entities_id` int(11) NOT NULL DEFAULT '-1',
2270
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2271
  PRIMARY KEY (`id`),
2272
  KEY `reminders_id` (`reminders_id`),
2273
  KEY `groups_id` (`groups_id`),
2274
  KEY `entities_id` (`entities_id`),
2275
  KEY `is_recursive` (`is_recursive`)
2276
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2277

  
2278

  
2279
### Dump table glpi_groups_rssfeeds
2280

  
2281
DROP TABLE IF EXISTS `glpi_groups_rssfeeds`;
2282
CREATE TABLE `glpi_groups_rssfeeds` (
2283
  `id` int(11) NOT NULL AUTO_INCREMENT,
2284
  `rssfeeds_id` int(11) NOT NULL DEFAULT '0',
2285
  `groups_id` int(11) NOT NULL DEFAULT '0',
2286
  `entities_id` int(11) NOT NULL DEFAULT '-1',
2287
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2288
  PRIMARY KEY (`id`),
2289
  KEY `rssfeeds_id` (`rssfeeds_id`),
2290
  KEY `groups_id` (`groups_id`),
2291
  KEY `entities_id` (`entities_id`),
2292
  KEY `is_recursive` (`is_recursive`)
2293
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2294

  
2295

  
2296
### Dump table glpi_groups_slas
2297

  
2298
DROP TABLE IF EXISTS `glpi_groups_slas`;
2299
CREATE TABLE `glpi_groups_slas` (
2300
  `id` int(11) NOT NULL AUTO_INCREMENT,
2301
  `slas_id` int(11) NOT NULL DEFAULT '0',
2302
  `groups_id` int(11) NOT NULL DEFAULT '0',
2303
  `entities_id` int(11) NOT NULL DEFAULT '-1',
2304
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2305
  PRIMARY KEY (`id`),
2306
  KEY `slas_id` (`slas_id`),
2307
  KEY `groups_id` (`groups_id`),
2308
  KEY `entities_id` (`entities_id`),
2309
  KEY `is_recursive` (`is_recursive`)
2310
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2311

  
2312

  
2313
### Dump table glpi_groups_tickets
2314

  
2315
DROP TABLE IF EXISTS `glpi_groups_tickets`;
2316
CREATE TABLE `glpi_groups_tickets` (
2317
  `id` int(11) NOT NULL AUTO_INCREMENT,
2318
  `tickets_id` int(11) NOT NULL DEFAULT '0',
2319
  `groups_id` int(11) NOT NULL DEFAULT '0',
2320
  `type` int(11) NOT NULL DEFAULT '1',
2321
  PRIMARY KEY (`id`),
2322
  UNIQUE KEY `unicity` (`tickets_id`,`type`,`groups_id`),
2323
  KEY `group` (`groups_id`,`type`)
2324
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2325

  
2326

  
2327
### Dump table glpi_groups_users
2328

  
2329
DROP TABLE IF EXISTS `glpi_groups_users`;
2330
CREATE TABLE `glpi_groups_users` (
2331
  `id` int(11) NOT NULL AUTO_INCREMENT,
2332
  `users_id` int(11) NOT NULL DEFAULT '0',
2333
  `groups_id` int(11) NOT NULL DEFAULT '0',
2334
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2335
  `is_manager` tinyint(1) NOT NULL DEFAULT '0',
2336
  `is_userdelegate` tinyint(1) NOT NULL DEFAULT '0',
2337
  PRIMARY KEY (`id`),
2338
  UNIQUE KEY `unicity` (`users_id`,`groups_id`),
2339
  KEY `groups_id` (`groups_id`),
2340
  KEY `is_manager` (`is_manager`),
2341
  KEY `is_userdelegate` (`is_userdelegate`)
2342
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2343

  
2344

  
2345
### Dump table glpi_holidays
2346

  
2347
DROP TABLE IF EXISTS `glpi_holidays`;
2348
CREATE TABLE `glpi_holidays` (
2349
  `id` int(11) NOT NULL AUTO_INCREMENT,
2350
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2351
  `entities_id` int(11) NOT NULL DEFAULT '0',
2352
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2353
  `comment` text COLLATE utf8_unicode_ci,
2354
  `begin_date` date DEFAULT NULL,
2355
  `end_date` date DEFAULT NULL,
2356
  `is_perpetual` tinyint(1) NOT NULL DEFAULT '0',
2357
  PRIMARY KEY (`id`),
2358
  KEY `name` (`name`),
2359
  KEY `begin_date` (`begin_date`),
2360
  KEY `end_date` (`end_date`),
2361
  KEY `is_perpetual` (`is_perpetual`)
2362
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2363

  
2364

  
2365
### Dump table glpi_infocoms
2366

  
2367
DROP TABLE IF EXISTS `glpi_infocoms`;
2368
CREATE TABLE `glpi_infocoms` (
2369
  `id` int(11) NOT NULL AUTO_INCREMENT,
2370
  `items_id` int(11) NOT NULL DEFAULT '0',
2371
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
2372
  `entities_id` int(11) NOT NULL DEFAULT '0',
2373
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2374
  `buy_date` date DEFAULT NULL,
2375
  `use_date` date DEFAULT NULL,
2376
  `warranty_duration` int(11) NOT NULL DEFAULT '0',
2377
  `warranty_info` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2378
  `suppliers_id` int(11) NOT NULL DEFAULT '0',
2379
  `order_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2380
  `delivery_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2381
  `immo_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2382
  `value` decimal(20,4) NOT NULL DEFAULT '0.0000',
2383
  `warranty_value` decimal(20,4) NOT NULL DEFAULT '0.0000',
2384
  `sink_time` int(11) NOT NULL DEFAULT '0',
2385
  `sink_type` int(11) NOT NULL DEFAULT '0',
2386
  `sink_coeff` float NOT NULL DEFAULT '0',
2387
  `comment` text COLLATE utf8_unicode_ci,
2388
  `bill` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2389
  `budgets_id` int(11) NOT NULL DEFAULT '0',
2390
  `alert` int(11) NOT NULL DEFAULT '0',
2391
  `order_date` date DEFAULT NULL,
2392
  `delivery_date` date DEFAULT NULL,
2393
  `inventory_date` date DEFAULT NULL,
2394
  `warranty_date` date DEFAULT NULL,
2395
  PRIMARY KEY (`id`),
2396
  UNIQUE KEY `unicity` (`itemtype`,`items_id`),
2397
  KEY `buy_date` (`buy_date`),
2398
  KEY `alert` (`alert`),
2399
  KEY `budgets_id` (`budgets_id`),
2400
  KEY `suppliers_id` (`suppliers_id`),
2401
  KEY `entities_id` (`entities_id`),
2402
  KEY `is_recursive` (`is_recursive`)
2403
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2404

  
2405

  
2406
### Dump table glpi_interfacetypes
2407

  
2408
DROP TABLE IF EXISTS `glpi_interfacetypes`;
2409
CREATE TABLE `glpi_interfacetypes` (
2410
  `id` int(11) NOT NULL AUTO_INCREMENT,
2411
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2412
  `comment` text COLLATE utf8_unicode_ci,
2413
  PRIMARY KEY (`id`),
2414
  KEY `name` (`name`)
2415
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2416

  
2417
INSERT INTO `glpi_interfacetypes` VALUES ('1','IDE',NULL);
2418
INSERT INTO `glpi_interfacetypes` VALUES ('2','SATA',NULL);
2419
INSERT INTO `glpi_interfacetypes` VALUES ('3','SCSI',NULL);
2420
INSERT INTO `glpi_interfacetypes` VALUES ('4','USB',NULL);
2421
INSERT INTO `glpi_interfacetypes` VALUES ('5','AGP','');
2422
INSERT INTO `glpi_interfacetypes` VALUES ('6','PCI','');
2423
INSERT INTO `glpi_interfacetypes` VALUES ('7','PCIe','');
2424
INSERT INTO `glpi_interfacetypes` VALUES ('8','PCI-X','');
2425

  
2426
### Dump table glpi_ipaddresses
2427

  
2428
DROP TABLE IF EXISTS `glpi_ipaddresses`;
2429
CREATE TABLE `glpi_ipaddresses` (
2430
  `id` int(11) NOT NULL AUTO_INCREMENT,
2431
  `entities_id` int(11) NOT NULL DEFAULT '0',
2432
  `items_id` int(11) NOT NULL DEFAULT '0',
2433
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
2434
  `version` tinyint(3) unsigned DEFAULT '0',
2435
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2436
  `binary_0` int(10) unsigned NOT NULL DEFAULT '0',
2437
  `binary_1` int(10) unsigned NOT NULL DEFAULT '0',
2438
  `binary_2` int(10) unsigned NOT NULL DEFAULT '0',
2439
  `binary_3` int(10) unsigned NOT NULL DEFAULT '0',
2440
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2441
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2442
  `mainitems_id` int(11) NOT NULL DEFAULT '0',
2443
  `mainitemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2444
  PRIMARY KEY (`id`),
2445
  KEY `entities_id` (`entities_id`),
2446
  KEY `textual` (`name`),
2447
  KEY `binary` (`binary_0`,`binary_1`,`binary_2`,`binary_3`),
2448
  KEY `is_deleted` (`is_deleted`),
2449
  KEY `is_dynamic` (`is_dynamic`),
2450
  KEY `item` (`itemtype`,`items_id`,`is_deleted`),
2451
  KEY `mainitem` (`mainitemtype`,`mainitems_id`,`is_deleted`)
2452
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2453

  
2454

  
2455
### Dump table glpi_ipaddresses_ipnetworks
2456

  
2457
DROP TABLE IF EXISTS `glpi_ipaddresses_ipnetworks`;
2458
CREATE TABLE `glpi_ipaddresses_ipnetworks` (
2459
  `id` int(11) NOT NULL AUTO_INCREMENT,
2460
  `ipaddresses_id` int(11) NOT NULL DEFAULT '0',
2461
  `ipnetworks_id` int(11) NOT NULL DEFAULT '0',
2462
  PRIMARY KEY (`id`),
2463
  UNIQUE KEY `unicity` (`ipaddresses_id`,`ipnetworks_id`),
2464
  KEY `ipnetworks_id` (`ipnetworks_id`),
2465
  KEY `ipaddresses_id` (`ipaddresses_id`)
2466
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2467

  
2468

  
2469
### Dump table glpi_ipnetworks
2470

  
2471
DROP TABLE IF EXISTS `glpi_ipnetworks`;
2472
CREATE TABLE `glpi_ipnetworks` (
2473
  `id` int(11) NOT NULL AUTO_INCREMENT,
2474
  `entities_id` int(11) NOT NULL DEFAULT '0',
2475
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2476
  `ipnetworks_id` int(11) NOT NULL DEFAULT '0',
2477
  `completename` text COLLATE utf8_unicode_ci,
2478
  `level` int(11) NOT NULL DEFAULT '0',
2479
  `ancestors_cache` longtext COLLATE utf8_unicode_ci,
2480
  `sons_cache` longtext COLLATE utf8_unicode_ci,
2481
  `addressable` tinyint(1) NOT NULL DEFAULT '0',
2482
  `version` tinyint(3) unsigned DEFAULT '0',
2483
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2484
  `address` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
2485
  `address_0` int(10) unsigned NOT NULL DEFAULT '0',
2486
  `address_1` int(10) unsigned NOT NULL DEFAULT '0',
2487
  `address_2` int(10) unsigned NOT NULL DEFAULT '0',
2488
  `address_3` int(10) unsigned NOT NULL DEFAULT '0',
2489
  `netmask` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
2490
  `netmask_0` int(10) unsigned NOT NULL DEFAULT '0',
2491
  `netmask_1` int(10) unsigned NOT NULL DEFAULT '0',
2492
  `netmask_2` int(10) unsigned NOT NULL DEFAULT '0',
2493
  `netmask_3` int(10) unsigned NOT NULL DEFAULT '0',
2494
  `gateway` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
2495
  `gateway_0` int(10) unsigned NOT NULL DEFAULT '0',
2496
  `gateway_1` int(10) unsigned NOT NULL DEFAULT '0',
2497
  `gateway_2` int(10) unsigned NOT NULL DEFAULT '0',
2498
  `gateway_3` int(10) unsigned NOT NULL DEFAULT '0',
2499
  `comment` text COLLATE utf8_unicode_ci,
2500
  PRIMARY KEY (`id`),
2501
  KEY `network_definition` (`entities_id`,`address`,`netmask`),
2502
  KEY `address` (`address_0`,`address_1`,`address_2`,`address_3`),
2503
  KEY `netmask` (`netmask_0`,`netmask_1`,`netmask_2`,`netmask_3`),
2504
  KEY `gateway` (`gateway_0`,`gateway_1`,`gateway_2`,`gateway_3`),
2505
  KEY `name` (`name`)
2506
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2507

  
2508

  
2509
### Dump table glpi_ipnetworks_vlans
2510

  
2511
DROP TABLE IF EXISTS `glpi_ipnetworks_vlans`;
2512
CREATE TABLE `glpi_ipnetworks_vlans` (
2513
  `id` int(11) NOT NULL AUTO_INCREMENT,
2514
  `ipnetworks_id` int(11) NOT NULL DEFAULT '0',
2515
  `vlans_id` int(11) NOT NULL DEFAULT '0',
2516
  PRIMARY KEY (`id`),
2517
  UNIQUE KEY `link` (`ipnetworks_id`,`vlans_id`)
2518
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2519

  
2520

  
2521
### Dump table glpi_items_devicecases
2522

  
2523
DROP TABLE IF EXISTS `glpi_items_devicecases`;
2524
CREATE TABLE `glpi_items_devicecases` (
2525
  `id` int(11) NOT NULL AUTO_INCREMENT,
2526
  `items_id` int(11) NOT NULL DEFAULT '0',
2527
  `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2528
  `devicecases_id` int(11) NOT NULL DEFAULT '0',
2529
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2530
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2531
  `entities_id` int(11) NOT NULL DEFAULT '0',
2532
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2533
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2534
  PRIMARY KEY (`id`),
2535
  KEY `computers_id` (`items_id`),
2536
  KEY `devicecases_id` (`devicecases_id`),
2537
  KEY `is_deleted` (`is_deleted`),
2538
  KEY `is_dynamic` (`is_dynamic`),
2539
  KEY `entities_id` (`entities_id`),
2540
  KEY `is_recursive` (`is_recursive`),
2541
  KEY `serial` (`serial`),
2542
  KEY `item` (`itemtype`,`items_id`)
2543
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2544

  
2545

  
2546
### Dump table glpi_items_devicecontrols
2547

  
2548
DROP TABLE IF EXISTS `glpi_items_devicecontrols`;
2549
CREATE TABLE `glpi_items_devicecontrols` (
2550
  `id` int(11) NOT NULL AUTO_INCREMENT,
2551
  `items_id` int(11) NOT NULL DEFAULT '0',
2552
  `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2553
  `devicecontrols_id` int(11) NOT NULL DEFAULT '0',
2554
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2555
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2556
  `entities_id` int(11) NOT NULL DEFAULT '0',
2557
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2558
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2559
  `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2560
  PRIMARY KEY (`id`),
2561
  KEY `computers_id` (`items_id`),
2562
  KEY `devicecontrols_id` (`devicecontrols_id`),
2563
  KEY `is_deleted` (`is_deleted`),
2564
  KEY `is_dynamic` (`is_dynamic`),
2565
  KEY `entities_id` (`entities_id`),
2566
  KEY `is_recursive` (`is_recursive`),
2567
  KEY `serial` (`serial`),
2568
  KEY `busID` (`busID`),
2569
  KEY `item` (`itemtype`,`items_id`)
2570
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2571

  
2572

  
2573
### Dump table glpi_items_devicedrives
2574

  
2575
DROP TABLE IF EXISTS `glpi_items_devicedrives`;
2576
CREATE TABLE `glpi_items_devicedrives` (
2577
  `id` int(11) NOT NULL AUTO_INCREMENT,
2578
  `items_id` int(11) NOT NULL DEFAULT '0',
2579
  `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2580
  `devicedrives_id` int(11) NOT NULL DEFAULT '0',
2581
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2582
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2583
  `entities_id` int(11) NOT NULL DEFAULT '0',
2584
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2585
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2586
  `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2587
  PRIMARY KEY (`id`),
2588
  KEY `computers_id` (`items_id`),
2589
  KEY `devicedrives_id` (`devicedrives_id`),
2590
  KEY `is_deleted` (`is_deleted`),
2591
  KEY `is_dynamic` (`is_dynamic`),
2592
  KEY `entities_id` (`entities_id`),
2593
  KEY `is_recursive` (`is_recursive`),
2594
  KEY `serial` (`serial`),
2595
  KEY `busID` (`busID`),
2596
  KEY `item` (`itemtype`,`items_id`)
2597
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2598

  
2599

  
2600
### Dump table glpi_items_devicegraphiccards
2601

  
2602
DROP TABLE IF EXISTS `glpi_items_devicegraphiccards`;
2603
CREATE TABLE `glpi_items_devicegraphiccards` (
2604
  `id` int(11) NOT NULL AUTO_INCREMENT,
2605
  `items_id` int(11) NOT NULL DEFAULT '0',
2606
  `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2607
  `devicegraphiccards_id` int(11) NOT NULL DEFAULT '0',
2608
  `memory` int(11) NOT NULL DEFAULT '0',
2609
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2610
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2611
  `entities_id` int(11) NOT NULL DEFAULT '0',
2612
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2613
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2614
  `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2615
  PRIMARY KEY (`id`),
2616
  KEY `computers_id` (`items_id`),
2617
  KEY `devicegraphiccards_id` (`devicegraphiccards_id`),
2618
  KEY `specificity` (`memory`),
2619
  KEY `is_deleted` (`is_deleted`),
2620
  KEY `is_dynamic` (`is_dynamic`),
2621
  KEY `entities_id` (`entities_id`),
2622
  KEY `is_recursive` (`is_recursive`),
2623
  KEY `serial` (`serial`),
2624
  KEY `busID` (`busID`),
2625
  KEY `item` (`itemtype`,`items_id`)
2626
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2627

  
2628

  
2629
### Dump table glpi_items_deviceharddrives
2630

  
2631
DROP TABLE IF EXISTS `glpi_items_deviceharddrives`;
2632
CREATE TABLE `glpi_items_deviceharddrives` (
2633
  `id` int(11) NOT NULL AUTO_INCREMENT,
2634
  `items_id` int(11) NOT NULL DEFAULT '0',
2635
  `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2636
  `deviceharddrives_id` int(11) NOT NULL DEFAULT '0',
2637
  `capacity` int(11) NOT NULL DEFAULT '0',
2638
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2639
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2640
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2641
  `entities_id` int(11) NOT NULL DEFAULT '0',
2642
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2643
  `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2644
  PRIMARY KEY (`id`),
2645
  KEY `computers_id` (`items_id`),
2646
  KEY `deviceharddrives_id` (`deviceharddrives_id`),
2647
  KEY `specificity` (`capacity`),
2648
  KEY `is_deleted` (`is_deleted`),
2649
  KEY `is_dynamic` (`is_dynamic`),
2650
  KEY `serial` (`serial`),
2651
  KEY `entities_id` (`entities_id`),
2652
  KEY `is_recursive` (`is_recursive`),
2653
  KEY `busID` (`busID`),
2654
  KEY `item` (`itemtype`,`items_id`)
2655
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2656

  
2657

  
2658
### Dump table glpi_items_devicememories
2659

  
2660
DROP TABLE IF EXISTS `glpi_items_devicememories`;
2661
CREATE TABLE `glpi_items_devicememories` (
2662
  `id` int(11) NOT NULL AUTO_INCREMENT,
2663
  `items_id` int(11) NOT NULL DEFAULT '0',
2664
  `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2665
  `devicememories_id` int(11) NOT NULL DEFAULT '0',
2666
  `size` int(11) NOT NULL DEFAULT '0',
2667
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2668
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2669
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2670
  `entities_id` int(11) NOT NULL DEFAULT '0',
2671
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2672
  `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2673
  PRIMARY KEY (`id`),
2674
  KEY `computers_id` (`items_id`),
2675
  KEY `devicememories_id` (`devicememories_id`),
2676
  KEY `specificity` (`size`),
2677
  KEY `is_deleted` (`is_deleted`),
2678
  KEY `is_dynamic` (`is_dynamic`),
2679
  KEY `serial` (`serial`),
2680
  KEY `entities_id` (`entities_id`),
2681
  KEY `is_recursive` (`is_recursive`),
2682
  KEY `busID` (`busID`),
2683
  KEY `item` (`itemtype`,`items_id`)
2684
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2685

  
2686

  
2687
### Dump table glpi_items_devicemotherboards
2688

  
2689
DROP TABLE IF EXISTS `glpi_items_devicemotherboards`;
2690
CREATE TABLE `glpi_items_devicemotherboards` (
2691
  `id` int(11) NOT NULL AUTO_INCREMENT,
2692
  `items_id` int(11) NOT NULL DEFAULT '0',
2693
  `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2694
  `devicemotherboards_id` int(11) NOT NULL DEFAULT '0',
2695
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2696
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2697
  `entities_id` int(11) NOT NULL DEFAULT '0',
2698
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2699
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2700
  PRIMARY KEY (`id`),
2701
  KEY `computers_id` (`items_id`),
2702
  KEY `devicemotherboards_id` (`devicemotherboards_id`),
2703
  KEY `is_deleted` (`is_deleted`),
2704
  KEY `is_dynamic` (`is_dynamic`),
2705
  KEY `entities_id` (`entities_id`),
2706
  KEY `is_recursive` (`is_recursive`),
2707
  KEY `serial` (`serial`),
2708
  KEY `item` (`itemtype`,`items_id`)
2709
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2710

  
2711

  
2712
### Dump table glpi_items_devicenetworkcards
2713

  
2714
DROP TABLE IF EXISTS `glpi_items_devicenetworkcards`;
2715
CREATE TABLE `glpi_items_devicenetworkcards` (
2716
  `id` int(11) NOT NULL AUTO_INCREMENT,
2717
  `items_id` int(11) NOT NULL DEFAULT '0',
2718
  `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2719
  `devicenetworkcards_id` int(11) NOT NULL DEFAULT '0',
2720
  `mac` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2721
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2722
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2723
  `entities_id` int(11) NOT NULL DEFAULT '0',
2724
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2725
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2726
  `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2727
  PRIMARY KEY (`id`),
2728
  KEY `computers_id` (`items_id`),
2729
  KEY `devicenetworkcards_id` (`devicenetworkcards_id`),
2730
  KEY `specificity` (`mac`),
2731
  KEY `is_deleted` (`is_deleted`),
2732
  KEY `is_dynamic` (`is_dynamic`),
2733
  KEY `entities_id` (`entities_id`),
2734
  KEY `is_recursive` (`is_recursive`),
2735
  KEY `serial` (`serial`),
2736
  KEY `busID` (`busID`),
2737
  KEY `item` (`itemtype`,`items_id`)
2738
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2739

  
2740

  
2741
### Dump table glpi_items_devicepcis
2742

  
2743
DROP TABLE IF EXISTS `glpi_items_devicepcis`;
2744
CREATE TABLE `glpi_items_devicepcis` (
2745
  `id` int(11) NOT NULL AUTO_INCREMENT,
2746
  `items_id` int(11) NOT NULL DEFAULT '0',
2747
  `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2748
  `devicepcis_id` int(11) NOT NULL DEFAULT '0',
2749
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2750
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2751
  `entities_id` int(11) NOT NULL DEFAULT '0',
2752
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2753
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2754
  `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2755
  PRIMARY KEY (`id`),
2756
  KEY `computers_id` (`items_id`),
2757
  KEY `devicepcis_id` (`devicepcis_id`),
2758
  KEY `is_deleted` (`is_deleted`),
2759
  KEY `is_dynamic` (`is_dynamic`),
2760
  KEY `entities_id` (`entities_id`),
2761
  KEY `is_recursive` (`is_recursive`),
2762
  KEY `serial` (`serial`),
2763
  KEY `busID` (`busID`),
2764
  KEY `item` (`itemtype`,`items_id`)
2765
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2766

  
2767

  
2768
### Dump table glpi_items_devicepowersupplies
2769

  
2770
DROP TABLE IF EXISTS `glpi_items_devicepowersupplies`;
2771
CREATE TABLE `glpi_items_devicepowersupplies` (
2772
  `id` int(11) NOT NULL AUTO_INCREMENT,
2773
  `items_id` int(11) NOT NULL DEFAULT '0',
2774
  `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2775
  `devicepowersupplies_id` int(11) NOT NULL DEFAULT '0',
2776
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2777
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2778
  `entities_id` int(11) NOT NULL DEFAULT '0',
2779
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2780
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2781
  PRIMARY KEY (`id`),
2782
  KEY `computers_id` (`items_id`),
2783
  KEY `devicepowersupplies_id` (`devicepowersupplies_id`),
2784
  KEY `is_deleted` (`is_deleted`),
2785
  KEY `is_dynamic` (`is_dynamic`),
2786
  KEY `entities_id` (`entities_id`),
2787
  KEY `is_recursive` (`is_recursive`),
2788
  KEY `serial` (`serial`),
2789
  KEY `item` (`itemtype`,`items_id`)
2790
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2791

  
2792

  
2793
### Dump table glpi_items_deviceprocessors
2794

  
2795
DROP TABLE IF EXISTS `glpi_items_deviceprocessors`;
2796
CREATE TABLE `glpi_items_deviceprocessors` (
2797
  `id` int(11) NOT NULL AUTO_INCREMENT,
2798
  `items_id` int(11) NOT NULL DEFAULT '0',
2799
  `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2800
  `deviceprocessors_id` int(11) NOT NULL DEFAULT '0',
2801
  `frequency` int(11) NOT NULL DEFAULT '0',
2802
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2803
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2804
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2805
  `nbcores` int(11) DEFAULT NULL,
2806
  `nbthreads` int(11) DEFAULT NULL,
2807
  `entities_id` int(11) NOT NULL DEFAULT '0',
2808
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2809
  `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2810
  PRIMARY KEY (`id`),
2811
  KEY `computers_id` (`items_id`),
2812
  KEY `deviceprocessors_id` (`deviceprocessors_id`),
2813
  KEY `specificity` (`frequency`),
2814
  KEY `is_deleted` (`is_deleted`),
2815
  KEY `is_dynamic` (`is_dynamic`),
2816
  KEY `serial` (`serial`),
2817
  KEY `nbcores` (`nbcores`),
2818
  KEY `nbthreads` (`nbthreads`),
2819
  KEY `entities_id` (`entities_id`),
2820
  KEY `is_recursive` (`is_recursive`),
2821
  KEY `busID` (`busID`),
2822
  KEY `item` (`itemtype`,`items_id`)
2823
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2824

  
2825

  
2826
### Dump table glpi_items_devicesoundcards
2827

  
2828
DROP TABLE IF EXISTS `glpi_items_devicesoundcards`;
2829
CREATE TABLE `glpi_items_devicesoundcards` (
2830
  `id` int(11) NOT NULL AUTO_INCREMENT,
2831
  `items_id` int(11) NOT NULL DEFAULT '0',
2832
  `itemtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2833
  `devicesoundcards_id` int(11) NOT NULL DEFAULT '0',
2834
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
2835
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
2836
  `entities_id` int(11) NOT NULL DEFAULT '0',
2837
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2838
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2839
  `busID` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2840
  PRIMARY KEY (`id`),
2841
  KEY `computers_id` (`items_id`),
2842
  KEY `devicesoundcards_id` (`devicesoundcards_id`),
2843
  KEY `is_deleted` (`is_deleted`),
2844
  KEY `is_dynamic` (`is_dynamic`),
2845
  KEY `entities_id` (`entities_id`),
2846
  KEY `is_recursive` (`is_recursive`),
2847
  KEY `serial` (`serial`),
2848
  KEY `busID` (`busID`),
2849
  KEY `item` (`itemtype`,`items_id`)
2850
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2851

  
2852

  
2853
### Dump table glpi_items_problems
2854

  
2855
DROP TABLE IF EXISTS `glpi_items_problems`;
2856
CREATE TABLE `glpi_items_problems` (
2857
  `id` int(11) NOT NULL AUTO_INCREMENT,
2858
  `problems_id` int(11) NOT NULL DEFAULT '0',
2859
  `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
2860
  `items_id` int(11) NOT NULL DEFAULT '0',
2861
  PRIMARY KEY (`id`),
2862
  UNIQUE KEY `unicity` (`problems_id`,`itemtype`,`items_id`),
2863
  KEY `item` (`itemtype`,`items_id`)
2864
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2865

  
2866

  
2867
### Dump table glpi_items_projects
2868

  
2869
DROP TABLE IF EXISTS `glpi_items_projects`;
2870
CREATE TABLE `glpi_items_projects` (
2871
  `id` int(11) NOT NULL AUTO_INCREMENT,
2872
  `projects_id` int(11) NOT NULL DEFAULT '0',
2873
  `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
2874
  `items_id` int(11) NOT NULL DEFAULT '0',
2875
  PRIMARY KEY (`id`),
2876
  UNIQUE KEY `unicity` (`projects_id`,`itemtype`,`items_id`),
2877
  KEY `item` (`itemtype`,`items_id`)
2878
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2879

  
2880

  
2881
### Dump table glpi_itilcategories
2882

  
2883
DROP TABLE IF EXISTS `glpi_itilcategories`;
2884
CREATE TABLE `glpi_itilcategories` (
2885
  `id` int(11) NOT NULL AUTO_INCREMENT,
2886
  `entities_id` int(11) NOT NULL DEFAULT '0',
2887
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2888
  `itilcategories_id` int(11) NOT NULL DEFAULT '0',
2889
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2890
  `completename` text COLLATE utf8_unicode_ci,
2891
  `comment` text COLLATE utf8_unicode_ci,
2892
  `level` int(11) NOT NULL DEFAULT '0',
2893
  `knowbaseitemcategories_id` int(11) NOT NULL DEFAULT '0',
2894
  `users_id` int(11) NOT NULL DEFAULT '0',
2895
  `groups_id` int(11) NOT NULL DEFAULT '0',
2896
  `ancestors_cache` longtext COLLATE utf8_unicode_ci,
2897
  `sons_cache` longtext COLLATE utf8_unicode_ci,
2898
  `is_helpdeskvisible` tinyint(1) NOT NULL DEFAULT '1',
2899
  `tickettemplates_id_incident` int(11) NOT NULL DEFAULT '0',
2900
  `tickettemplates_id_demand` int(11) NOT NULL DEFAULT '0',
2901
  `is_incident` int(11) NOT NULL DEFAULT '1',
2902
  `is_request` int(11) NOT NULL DEFAULT '1',
2903
  `is_problem` int(11) NOT NULL DEFAULT '1',
2904
  PRIMARY KEY (`id`),
2905
  KEY `name` (`name`),
2906
  KEY `entities_id` (`entities_id`),
2907
  KEY `is_recursive` (`is_recursive`),
2908
  KEY `knowbaseitemcategories_id` (`knowbaseitemcategories_id`),
2909
  KEY `users_id` (`users_id`),
2910
  KEY `groups_id` (`groups_id`),
2911
  KEY `is_helpdeskvisible` (`is_helpdeskvisible`),
2912
  KEY `itilcategories_id` (`itilcategories_id`),
2913
  KEY `tickettemplates_id_incident` (`tickettemplates_id_incident`),
2914
  KEY `tickettemplates_id_demand` (`tickettemplates_id_demand`),
2915
  KEY `is_incident` (`is_incident`),
2916
  KEY `is_request` (`is_request`),
2917
  KEY `is_problem` (`is_problem`)
2918
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2919

  
2920

  
2921
### Dump table glpi_knowbaseitemcategories
2922

  
2923
DROP TABLE IF EXISTS `glpi_knowbaseitemcategories`;
2924
CREATE TABLE `glpi_knowbaseitemcategories` (
2925
  `id` int(11) NOT NULL AUTO_INCREMENT,
2926
  `entities_id` int(11) NOT NULL DEFAULT '0',
2927
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2928
  `knowbaseitemcategories_id` int(11) NOT NULL DEFAULT '0',
2929
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
2930
  `completename` text COLLATE utf8_unicode_ci,
2931
  `comment` text COLLATE utf8_unicode_ci,
2932
  `level` int(11) NOT NULL DEFAULT '0',
2933
  `sons_cache` longtext COLLATE utf8_unicode_ci,
2934
  `ancestors_cache` longtext COLLATE utf8_unicode_ci,
2935
  PRIMARY KEY (`id`),
2936
  UNIQUE KEY `unicity` (`entities_id`,`knowbaseitemcategories_id`,`name`),
2937
  KEY `name` (`name`),
2938
  KEY `entities_id` (`entities_id`),
2939
  KEY `is_recursive` (`is_recursive`)
2940
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2941

  
2942

  
2943
### Dump table glpi_knowbaseitems
2944

  
2945
DROP TABLE IF EXISTS `glpi_knowbaseitems`;
2946
CREATE TABLE `glpi_knowbaseitems` (
2947
  `id` int(11) NOT NULL AUTO_INCREMENT,
2948
  `knowbaseitemcategories_id` int(11) NOT NULL DEFAULT '0',
2949
  `name` text COLLATE utf8_unicode_ci,
2950
  `answer` longtext COLLATE utf8_unicode_ci,
2951
  `is_faq` tinyint(1) NOT NULL DEFAULT '0',
2952
  `users_id` int(11) NOT NULL DEFAULT '0',
2953
  `view` int(11) NOT NULL DEFAULT '0',
2954
  `date` datetime DEFAULT NULL,
2955
  `date_mod` datetime DEFAULT NULL,
2956
  `begin_date` datetime DEFAULT NULL,
2957
  `end_date` datetime DEFAULT NULL,
2958
  PRIMARY KEY (`id`),
2959
  KEY `users_id` (`users_id`),
2960
  KEY `knowbaseitemcategories_id` (`knowbaseitemcategories_id`),
2961
  KEY `is_faq` (`is_faq`),
2962
  KEY `date_mod` (`date_mod`),
2963
  FULLTEXT KEY `fulltext` (`name`,`answer`)
2964
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2965

  
2966

  
2967
### Dump table glpi_knowbaseitems_profiles
2968

  
2969
DROP TABLE IF EXISTS `glpi_knowbaseitems_profiles`;
2970
CREATE TABLE `glpi_knowbaseitems_profiles` (
2971
  `id` int(11) NOT NULL AUTO_INCREMENT,
2972
  `knowbaseitems_id` int(11) NOT NULL DEFAULT '0',
2973
  `profiles_id` int(11) NOT NULL DEFAULT '0',
2974
  `entities_id` int(11) NOT NULL DEFAULT '-1',
2975
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
2976
  PRIMARY KEY (`id`),
2977
  KEY `knowbaseitems_id` (`knowbaseitems_id`),
2978
  KEY `profiles_id` (`profiles_id`),
2979
  KEY `entities_id` (`entities_id`),
2980
  KEY `is_recursive` (`is_recursive`)
2981
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2982

  
2983

  
2984
### Dump table glpi_knowbaseitems_users
2985

  
2986
DROP TABLE IF EXISTS `glpi_knowbaseitems_users`;
2987
CREATE TABLE `glpi_knowbaseitems_users` (
2988
  `id` int(11) NOT NULL AUTO_INCREMENT,
2989
  `knowbaseitems_id` int(11) NOT NULL DEFAULT '0',
2990
  `users_id` int(11) NOT NULL DEFAULT '0',
2991
  PRIMARY KEY (`id`),
2992
  KEY `knowbaseitems_id` (`knowbaseitems_id`),
2993
  KEY `users_id` (`users_id`)
2994
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
2995

  
2996

  
2997
### Dump table glpi_knowbaseitemtranslations
2998

  
2999
DROP TABLE IF EXISTS `glpi_knowbaseitemtranslations`;
3000
CREATE TABLE `glpi_knowbaseitemtranslations` (
3001
  `id` int(11) NOT NULL AUTO_INCREMENT,
3002
  `knowbaseitems_id` int(11) NOT NULL DEFAULT '0',
3003
  `language` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL,
3004
  `name` text COLLATE utf8_unicode_ci,
3005
  `answer` longtext COLLATE utf8_unicode_ci,
3006
  PRIMARY KEY (`id`),
3007
  KEY `item` (`knowbaseitems_id`,`language`),
3008
  FULLTEXT KEY `fulltext` (`name`,`answer`)
3009
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3010

  
3011

  
3012
### Dump table glpi_links
3013

  
3014
DROP TABLE IF EXISTS `glpi_links`;
3015
CREATE TABLE `glpi_links` (
3016
  `id` int(11) NOT NULL AUTO_INCREMENT,
3017
  `entities_id` int(11) NOT NULL DEFAULT '0',
3018
  `is_recursive` tinyint(1) NOT NULL DEFAULT '1',
3019
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3020
  `link` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3021
  `data` text COLLATE utf8_unicode_ci,
3022
  `open_window` tinyint(1) NOT NULL DEFAULT '1',
3023
  PRIMARY KEY (`id`),
3024
  KEY `entities_id` (`entities_id`)
3025
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3026

  
3027

  
3028
### Dump table glpi_links_itemtypes
3029

  
3030
DROP TABLE IF EXISTS `glpi_links_itemtypes`;
3031
CREATE TABLE `glpi_links_itemtypes` (
3032
  `id` int(11) NOT NULL AUTO_INCREMENT,
3033
  `links_id` int(11) NOT NULL DEFAULT '0',
3034
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
3035
  PRIMARY KEY (`id`),
3036
  UNIQUE KEY `unicity` (`itemtype`,`links_id`),
3037
  KEY `links_id` (`links_id`)
3038
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3039

  
3040

  
3041
### Dump table glpi_locations
3042

  
3043
DROP TABLE IF EXISTS `glpi_locations`;
3044
CREATE TABLE `glpi_locations` (
3045
  `id` int(11) NOT NULL AUTO_INCREMENT,
3046
  `entities_id` int(11) NOT NULL DEFAULT '0',
3047
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
3048
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3049
  `locations_id` int(11) NOT NULL DEFAULT '0',
3050
  `completename` text COLLATE utf8_unicode_ci,
3051
  `comment` text COLLATE utf8_unicode_ci,
3052
  `level` int(11) NOT NULL DEFAULT '0',
3053
  `ancestors_cache` longtext COLLATE utf8_unicode_ci,
3054
  `sons_cache` longtext COLLATE utf8_unicode_ci,
3055
  `building` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3056
  `room` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3057
  `latitude` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3058
  `longitude` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3059
  `altitude` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3060
  PRIMARY KEY (`id`),
3061
  UNIQUE KEY `unicity` (`entities_id`,`locations_id`,`name`),
3062
  KEY `locations_id` (`locations_id`),
3063
  KEY `name` (`name`),
3064
  KEY `is_recursive` (`is_recursive`)
3065
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3066

  
3067

  
3068
### Dump table glpi_logs
3069

  
3070
DROP TABLE IF EXISTS `glpi_logs`;
3071
CREATE TABLE `glpi_logs` (
3072
  `id` int(11) NOT NULL AUTO_INCREMENT,
3073
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
3074
  `items_id` int(11) NOT NULL DEFAULT '0',
3075
  `itemtype_link` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
3076
  `linked_action` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php HISTORY_* constant',
3077
  `user_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3078
  `date_mod` datetime DEFAULT NULL,
3079
  `id_search_option` int(11) NOT NULL DEFAULT '0' COMMENT 'see search.constant.php for value',
3080
  `old_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3081
  `new_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3082
  PRIMARY KEY (`id`),
3083
  KEY `date_mod` (`date_mod`),
3084
  KEY `itemtype_link` (`itemtype_link`),
3085
  KEY `item` (`itemtype`,`items_id`)
3086
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3087

  
3088

  
3089
### Dump table glpi_mailcollectors
3090

  
3091
DROP TABLE IF EXISTS `glpi_mailcollectors`;
3092
CREATE TABLE `glpi_mailcollectors` (
3093
  `id` int(11) NOT NULL AUTO_INCREMENT,
3094
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3095
  `host` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3096
  `login` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3097
  `filesize_max` int(11) NOT NULL DEFAULT '2097152',
3098
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
3099
  `date_mod` datetime DEFAULT NULL,
3100
  `comment` text COLLATE utf8_unicode_ci,
3101
  `passwd` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3102
  `accepted` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3103
  `refused` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3104
  `use_kerberos` tinyint(1) NOT NULL DEFAULT '0',
3105
  `errors` int(11) NOT NULL DEFAULT '0',
3106
  `use_mail_date` tinyint(1) NOT NULL DEFAULT '0',
3107
  PRIMARY KEY (`id`),
3108
  KEY `is_active` (`is_active`),
3109
  KEY `date_mod` (`date_mod`)
3110
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3111

  
3112

  
3113
### Dump table glpi_manufacturers
3114

  
3115
DROP TABLE IF EXISTS `glpi_manufacturers`;
3116
CREATE TABLE `glpi_manufacturers` (
3117
  `id` int(11) NOT NULL AUTO_INCREMENT,
3118
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3119
  `comment` text COLLATE utf8_unicode_ci,
3120
  PRIMARY KEY (`id`),
3121
  KEY `name` (`name`)
3122
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3123

  
3124

  
3125
### Dump table glpi_monitormodels
3126

  
3127
DROP TABLE IF EXISTS `glpi_monitormodels`;
3128
CREATE TABLE `glpi_monitormodels` (
3129
  `id` int(11) NOT NULL AUTO_INCREMENT,
3130
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3131
  `comment` text COLLATE utf8_unicode_ci,
3132
  PRIMARY KEY (`id`),
3133
  KEY `name` (`name`)
3134
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3135

  
3136

  
3137
### Dump table glpi_monitors
3138

  
3139
DROP TABLE IF EXISTS `glpi_monitors`;
3140
CREATE TABLE `glpi_monitors` (
3141
  `id` int(11) NOT NULL AUTO_INCREMENT,
3142
  `entities_id` int(11) NOT NULL DEFAULT '0',
3143
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3144
  `date_mod` datetime DEFAULT NULL,
3145
  `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3146
  `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3147
  `users_id_tech` int(11) NOT NULL DEFAULT '0',
3148
  `groups_id_tech` int(11) NOT NULL DEFAULT '0',
3149
  `comment` text COLLATE utf8_unicode_ci,
3150
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3151
  `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3152
  `size` int(11) NOT NULL DEFAULT '0',
3153
  `have_micro` tinyint(1) NOT NULL DEFAULT '0',
3154
  `have_speaker` tinyint(1) NOT NULL DEFAULT '0',
3155
  `have_subd` tinyint(1) NOT NULL DEFAULT '0',
3156
  `have_bnc` tinyint(1) NOT NULL DEFAULT '0',
3157
  `have_dvi` tinyint(1) NOT NULL DEFAULT '0',
3158
  `have_pivot` tinyint(1) NOT NULL DEFAULT '0',
3159
  `have_hdmi` tinyint(1) NOT NULL DEFAULT '0',
3160
  `have_displayport` tinyint(1) NOT NULL DEFAULT '0',
3161
  `locations_id` int(11) NOT NULL DEFAULT '0',
3162
  `monitortypes_id` int(11) NOT NULL DEFAULT '0',
3163
  `monitormodels_id` int(11) NOT NULL DEFAULT '0',
3164
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
3165
  `is_global` tinyint(1) NOT NULL DEFAULT '0',
3166
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
3167
  `is_template` tinyint(1) NOT NULL DEFAULT '0',
3168
  `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3169
  `users_id` int(11) NOT NULL DEFAULT '0',
3170
  `groups_id` int(11) NOT NULL DEFAULT '0',
3171
  `states_id` int(11) NOT NULL DEFAULT '0',
3172
  `ticket_tco` decimal(20,4) DEFAULT '0.0000',
3173
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
3174
  PRIMARY KEY (`id`),
3175
  KEY `name` (`name`),
3176
  KEY `is_template` (`is_template`),
3177
  KEY `is_global` (`is_global`),
3178
  KEY `entities_id` (`entities_id`),
3179
  KEY `manufacturers_id` (`manufacturers_id`),
3180
  KEY `groups_id` (`groups_id`),
3181
  KEY `users_id` (`users_id`),
3182
  KEY `locations_id` (`locations_id`),
3183
  KEY `monitormodels_id` (`monitormodels_id`),
3184
  KEY `states_id` (`states_id`),
3185
  KEY `users_id_tech` (`users_id_tech`),
3186
  KEY `monitortypes_id` (`monitortypes_id`),
3187
  KEY `is_deleted` (`is_deleted`),
3188
  KEY `groups_id_tech` (`groups_id_tech`),
3189
  KEY `is_dynamic` (`is_dynamic`),
3190
  KEY `serial` (`serial`),
3191
  KEY `otherserial` (`otherserial`)
3192
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3193

  
3194

  
3195
### Dump table glpi_monitortypes
3196

  
3197
DROP TABLE IF EXISTS `glpi_monitortypes`;
3198
CREATE TABLE `glpi_monitortypes` (
3199
  `id` int(11) NOT NULL AUTO_INCREMENT,
3200
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3201
  `comment` text COLLATE utf8_unicode_ci,
3202
  PRIMARY KEY (`id`),
3203
  KEY `name` (`name`)
3204
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3205

  
3206

  
3207
### Dump table glpi_netpoints
3208

  
3209
DROP TABLE IF EXISTS `glpi_netpoints`;
3210
CREATE TABLE `glpi_netpoints` (
3211
  `id` int(11) NOT NULL AUTO_INCREMENT,
3212
  `entities_id` int(11) NOT NULL DEFAULT '0',
3213
  `locations_id` int(11) NOT NULL DEFAULT '0',
3214
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3215
  `comment` text COLLATE utf8_unicode_ci,
3216
  PRIMARY KEY (`id`),
3217
  KEY `name` (`name`),
3218
  KEY `complete` (`entities_id`,`locations_id`,`name`),
3219
  KEY `location_name` (`locations_id`,`name`)
3220
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3221

  
3222

  
3223
### Dump table glpi_networkaliases
3224

  
3225
DROP TABLE IF EXISTS `glpi_networkaliases`;
3226
CREATE TABLE `glpi_networkaliases` (
3227
  `id` int(11) NOT NULL AUTO_INCREMENT,
3228
  `entities_id` int(11) NOT NULL DEFAULT '0',
3229
  `networknames_id` int(11) NOT NULL DEFAULT '0',
3230
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3231
  `fqdns_id` int(11) NOT NULL DEFAULT '0',
3232
  `comment` text COLLATE utf8_unicode_ci,
3233
  PRIMARY KEY (`id`),
3234
  KEY `entities_id` (`entities_id`),
3235
  KEY `name` (`name`),
3236
  KEY `networknames_id` (`networknames_id`)
3237
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3238

  
3239

  
3240
### Dump table glpi_networkequipmentfirmwares
3241

  
3242
DROP TABLE IF EXISTS `glpi_networkequipmentfirmwares`;
3243
CREATE TABLE `glpi_networkequipmentfirmwares` (
3244
  `id` int(11) NOT NULL AUTO_INCREMENT,
3245
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3246
  `comment` text COLLATE utf8_unicode_ci,
3247
  PRIMARY KEY (`id`),
3248
  KEY `name` (`name`)
3249
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3250

  
3251

  
3252
### Dump table glpi_networkequipmentmodels
3253

  
3254
DROP TABLE IF EXISTS `glpi_networkequipmentmodels`;
3255
CREATE TABLE `glpi_networkequipmentmodels` (
3256
  `id` int(11) NOT NULL AUTO_INCREMENT,
3257
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3258
  `comment` text COLLATE utf8_unicode_ci,
3259
  PRIMARY KEY (`id`),
3260
  KEY `name` (`name`)
3261
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3262

  
3263

  
3264
### Dump table glpi_networkequipments
3265

  
3266
DROP TABLE IF EXISTS `glpi_networkequipments`;
3267
CREATE TABLE `glpi_networkequipments` (
3268
  `id` int(11) NOT NULL AUTO_INCREMENT,
3269
  `entities_id` int(11) NOT NULL DEFAULT '0',
3270
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
3271
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3272
  `ram` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3273
  `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3274
  `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3275
  `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3276
  `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3277
  `users_id_tech` int(11) NOT NULL DEFAULT '0',
3278
  `groups_id_tech` int(11) NOT NULL DEFAULT '0',
3279
  `date_mod` datetime DEFAULT NULL,
3280
  `comment` text COLLATE utf8_unicode_ci,
3281
  `locations_id` int(11) NOT NULL DEFAULT '0',
3282
  `domains_id` int(11) NOT NULL DEFAULT '0',
3283
  `networks_id` int(11) NOT NULL DEFAULT '0',
3284
  `networkequipmenttypes_id` int(11) NOT NULL DEFAULT '0',
3285
  `networkequipmentmodels_id` int(11) NOT NULL DEFAULT '0',
3286
  `networkequipmentfirmwares_id` int(11) NOT NULL DEFAULT '0',
3287
  `manufacturers_id` int(11) NOT NULL DEFAULT '0',
3288
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
3289
  `is_template` tinyint(1) NOT NULL DEFAULT '0',
3290
  `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3291
  `users_id` int(11) NOT NULL DEFAULT '0',
3292
  `groups_id` int(11) NOT NULL DEFAULT '0',
3293
  `states_id` int(11) NOT NULL DEFAULT '0',
3294
  `ticket_tco` decimal(20,4) DEFAULT '0.0000',
3295
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
3296
  PRIMARY KEY (`id`),
3297
  KEY `name` (`name`),
3298
  KEY `is_template` (`is_template`),
3299
  KEY `domains_id` (`domains_id`),
3300
  KEY `networkequipmentfirmwares_id` (`networkequipmentfirmwares_id`),
3301
  KEY `entities_id` (`entities_id`),
3302
  KEY `manufacturers_id` (`manufacturers_id`),
3303
  KEY `groups_id` (`groups_id`),
3304
  KEY `users_id` (`users_id`),
3305
  KEY `locations_id` (`locations_id`),
3306
  KEY `networkequipmentmodels_id` (`networkequipmentmodels_id`),
3307
  KEY `networks_id` (`networks_id`),
3308
  KEY `states_id` (`states_id`),
3309
  KEY `users_id_tech` (`users_id_tech`),
3310
  KEY `networkequipmenttypes_id` (`networkequipmenttypes_id`),
3311
  KEY `is_deleted` (`is_deleted`),
3312
  KEY `date_mod` (`date_mod`),
3313
  KEY `groups_id_tech` (`groups_id_tech`),
3314
  KEY `is_dynamic` (`is_dynamic`),
3315
  KEY `serial` (`serial`),
3316
  KEY `otherserial` (`otherserial`)
3317
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3318

  
3319

  
3320
### Dump table glpi_networkequipmenttypes
3321

  
3322
DROP TABLE IF EXISTS `glpi_networkequipmenttypes`;
3323
CREATE TABLE `glpi_networkequipmenttypes` (
3324
  `id` int(11) NOT NULL AUTO_INCREMENT,
3325
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3326
  `comment` text COLLATE utf8_unicode_ci,
3327
  PRIMARY KEY (`id`),
3328
  KEY `name` (`name`)
3329
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3330

  
3331

  
3332
### Dump table glpi_networkinterfaces
3333

  
3334
DROP TABLE IF EXISTS `glpi_networkinterfaces`;
3335
CREATE TABLE `glpi_networkinterfaces` (
3336
  `id` int(11) NOT NULL AUTO_INCREMENT,
3337
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3338
  `comment` text COLLATE utf8_unicode_ci,
3339
  PRIMARY KEY (`id`),
3340
  KEY `name` (`name`)
3341
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3342

  
3343

  
3344
### Dump table glpi_networknames
3345

  
3346
DROP TABLE IF EXISTS `glpi_networknames`;
3347
CREATE TABLE `glpi_networknames` (
3348
  `id` int(11) NOT NULL AUTO_INCREMENT,
3349
  `entities_id` int(11) NOT NULL DEFAULT '0',
3350
  `items_id` int(11) NOT NULL DEFAULT '0',
3351
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
3352
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3353
  `comment` text COLLATE utf8_unicode_ci,
3354
  `fqdns_id` int(11) NOT NULL DEFAULT '0',
3355
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
3356
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
3357
  PRIMARY KEY (`id`),
3358
  KEY `entities_id` (`entities_id`),
3359
  KEY `FQDN` (`name`,`fqdns_id`),
3360
  KEY `name` (`name`),
3361
  KEY `fqdns_id` (`fqdns_id`),
3362
  KEY `is_deleted` (`is_deleted`),
3363
  KEY `is_dynamic` (`is_dynamic`),
3364
  KEY `item` (`itemtype`,`items_id`,`is_deleted`)
3365
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3366

  
3367

  
3368
### Dump table glpi_networkportaggregates
3369

  
3370
DROP TABLE IF EXISTS `glpi_networkportaggregates`;
3371
CREATE TABLE `glpi_networkportaggregates` (
3372
  `id` int(11) NOT NULL AUTO_INCREMENT,
3373
  `networkports_id` int(11) NOT NULL DEFAULT '0',
3374
  `networkports_id_list` text COLLATE utf8_unicode_ci COMMENT 'array of associated networkports_id',
3375
  PRIMARY KEY (`id`),
3376
  UNIQUE KEY `networkports_id` (`networkports_id`)
3377
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3378

  
3379

  
3380
### Dump table glpi_networkportaliases
3381

  
3382
DROP TABLE IF EXISTS `glpi_networkportaliases`;
3383
CREATE TABLE `glpi_networkportaliases` (
3384
  `id` int(11) NOT NULL AUTO_INCREMENT,
3385
  `networkports_id` int(11) NOT NULL DEFAULT '0',
3386
  `networkports_id_alias` int(11) NOT NULL DEFAULT '0',
3387
  PRIMARY KEY (`id`),
3388
  UNIQUE KEY `networkports_id` (`networkports_id`),
3389
  KEY `networkports_id_alias` (`networkports_id_alias`)
3390
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3391

  
3392

  
3393
### Dump table glpi_networkportdialups
3394

  
3395
DROP TABLE IF EXISTS `glpi_networkportdialups`;
3396
CREATE TABLE `glpi_networkportdialups` (
3397
  `id` int(11) NOT NULL AUTO_INCREMENT,
3398
  `networkports_id` int(11) NOT NULL DEFAULT '0',
3399
  PRIMARY KEY (`id`),
3400
  UNIQUE KEY `networkports_id` (`networkports_id`)
3401
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3402

  
3403

  
3404
### Dump table glpi_networkportethernets
3405

  
3406
DROP TABLE IF EXISTS `glpi_networkportethernets`;
3407
CREATE TABLE `glpi_networkportethernets` (
3408
  `id` int(11) NOT NULL AUTO_INCREMENT,
3409
  `networkports_id` int(11) NOT NULL DEFAULT '0',
3410
  `items_devicenetworkcards_id` int(11) NOT NULL DEFAULT '0',
3411
  `netpoints_id` int(11) NOT NULL DEFAULT '0',
3412
  `type` varchar(10) COLLATE utf8_unicode_ci DEFAULT '' COMMENT 'T, LX, SX',
3413
  `speed` int(11) NOT NULL DEFAULT '10' COMMENT 'Mbit/s: 10, 100, 1000, 10000',
3414
  PRIMARY KEY (`id`),
3415
  UNIQUE KEY `networkports_id` (`networkports_id`),
3416
  KEY `card` (`items_devicenetworkcards_id`),
3417
  KEY `netpoint` (`netpoints_id`),
3418
  KEY `type` (`type`),
3419
  KEY `speed` (`speed`)
3420
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3421

  
3422

  
3423
### Dump table glpi_networkportlocals
3424

  
3425
DROP TABLE IF EXISTS `glpi_networkportlocals`;
3426
CREATE TABLE `glpi_networkportlocals` (
3427
  `id` int(11) NOT NULL AUTO_INCREMENT,
3428
  `networkports_id` int(11) NOT NULL DEFAULT '0',
3429
  PRIMARY KEY (`id`),
3430
  UNIQUE KEY `networkports_id` (`networkports_id`)
3431
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3432

  
3433

  
3434
### Dump table glpi_networkports
3435

  
3436
DROP TABLE IF EXISTS `glpi_networkports`;
3437
CREATE TABLE `glpi_networkports` (
3438
  `id` int(11) NOT NULL AUTO_INCREMENT,
3439
  `items_id` int(11) NOT NULL DEFAULT '0',
3440
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
3441
  `entities_id` int(11) NOT NULL DEFAULT '0',
3442
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
3443
  `logical_number` int(11) NOT NULL DEFAULT '0',
3444
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3445
  `instantiation_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3446
  `mac` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3447
  `comment` text COLLATE utf8_unicode_ci,
3448
  `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
3449
  `is_dynamic` tinyint(1) NOT NULL DEFAULT '0',
3450
  PRIMARY KEY (`id`),
3451
  KEY `on_device` (`items_id`,`itemtype`),
3452
  KEY `item` (`itemtype`,`items_id`),
3453
  KEY `entities_id` (`entities_id`),
3454
  KEY `is_recursive` (`is_recursive`),
3455
  KEY `mac` (`mac`),
3456
  KEY `is_deleted` (`is_deleted`),
3457
  KEY `is_dynamic` (`is_dynamic`)
3458
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3459

  
3460

  
3461
### Dump table glpi_networkports_networkports
3462

  
3463
DROP TABLE IF EXISTS `glpi_networkports_networkports`;
3464
CREATE TABLE `glpi_networkports_networkports` (
3465
  `id` int(11) NOT NULL AUTO_INCREMENT,
3466
  `networkports_id_1` int(11) NOT NULL DEFAULT '0',
3467
  `networkports_id_2` int(11) NOT NULL DEFAULT '0',
3468
  PRIMARY KEY (`id`),
3469
  UNIQUE KEY `unicity` (`networkports_id_1`,`networkports_id_2`),
3470
  KEY `networkports_id_2` (`networkports_id_2`)
3471
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3472

  
3473

  
3474
### Dump table glpi_networkports_vlans
3475

  
3476
DROP TABLE IF EXISTS `glpi_networkports_vlans`;
3477
CREATE TABLE `glpi_networkports_vlans` (
3478
  `id` int(11) NOT NULL AUTO_INCREMENT,
3479
  `networkports_id` int(11) NOT NULL DEFAULT '0',
3480
  `vlans_id` int(11) NOT NULL DEFAULT '0',
3481
  `tagged` tinyint(1) NOT NULL DEFAULT '0',
3482
  PRIMARY KEY (`id`),
3483
  UNIQUE KEY `unicity` (`networkports_id`,`vlans_id`),
3484
  KEY `vlans_id` (`vlans_id`)
3485
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3486

  
3487

  
3488
### Dump table glpi_networkportwifis
3489

  
3490
DROP TABLE IF EXISTS `glpi_networkportwifis`;
3491
CREATE TABLE `glpi_networkportwifis` (
3492
  `id` int(11) NOT NULL AUTO_INCREMENT,
3493
  `networkports_id` int(11) NOT NULL DEFAULT '0',
3494
  `items_devicenetworkcards_id` int(11) NOT NULL DEFAULT '0',
3495
  `wifinetworks_id` int(11) NOT NULL DEFAULT '0',
3496
  `networkportwifis_id` int(11) NOT NULL DEFAULT '0' COMMENT 'only usefull in case of Managed node',
3497
  `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',
3498
  `mode` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'ad-hoc, managed, master, repeater, secondary, monitor, auto',
3499
  PRIMARY KEY (`id`),
3500
  UNIQUE KEY `networkports_id` (`networkports_id`),
3501
  KEY `card` (`items_devicenetworkcards_id`),
3502
  KEY `essid` (`wifinetworks_id`),
3503
  KEY `version` (`version`),
3504
  KEY `mode` (`mode`)
3505
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3506

  
3507

  
3508
### Dump table glpi_networks
3509

  
3510
DROP TABLE IF EXISTS `glpi_networks`;
3511
CREATE TABLE `glpi_networks` (
3512
  `id` int(11) NOT NULL AUTO_INCREMENT,
3513
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3514
  `comment` text COLLATE utf8_unicode_ci,
3515
  PRIMARY KEY (`id`),
3516
  KEY `name` (`name`)
3517
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3518

  
3519

  
3520
### Dump table glpi_notepads
3521

  
3522
DROP TABLE IF EXISTS `glpi_notepads`;
3523
CREATE TABLE `glpi_notepads` (
3524
  `id` int(11) NOT NULL AUTO_INCREMENT,
3525
  `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
3526
  `items_id` int(11) NOT NULL DEFAULT '0',
3527
  `date` datetime DEFAULT NULL,
3528
  `date_mod` datetime DEFAULT NULL,
3529
  `users_id` int(11) NOT NULL DEFAULT '0',
3530
  `users_id_lastupdater` int(11) NOT NULL DEFAULT '0',
3531
  `content` longtext COLLATE utf8_unicode_ci,
3532
  PRIMARY KEY (`id`),
3533
  KEY `item` (`itemtype`,`items_id`),
3534
  KEY `date_mod` (`date_mod`),
3535
  KEY `date` (`date`),
3536
  KEY `users_id_lastupdater` (`users_id_lastupdater`),
3537
  KEY `users_id` (`users_id`)
3538
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3539

  
3540

  
3541
### Dump table glpi_notifications
3542

  
3543
DROP TABLE IF EXISTS `glpi_notifications`;
3544
CREATE TABLE `glpi_notifications` (
3545
  `id` int(11) NOT NULL AUTO_INCREMENT,
3546
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3547
  `entities_id` int(11) NOT NULL DEFAULT '0',
3548
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
3549
  `event` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
3550
  `mode` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
3551
  `notificationtemplates_id` int(11) NOT NULL DEFAULT '0',
3552
  `comment` text COLLATE utf8_unicode_ci,
3553
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0',
3554
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
3555
  `date_mod` datetime DEFAULT NULL,
3556
  PRIMARY KEY (`id`),
3557
  KEY `name` (`name`),
3558
  KEY `itemtype` (`itemtype`),
3559
  KEY `entities_id` (`entities_id`),
3560
  KEY `is_active` (`is_active`),
3561
  KEY `date_mod` (`date_mod`),
3562
  KEY `is_recursive` (`is_recursive`),
3563
  KEY `notificationtemplates_id` (`notificationtemplates_id`)
3564
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3565

  
3566
INSERT INTO `glpi_notifications` VALUES ('1','Alert Tickets not closed','0','Ticket','alertnotclosed','mail','6','','1','1','2010-02-16 16:41:39');
3567
INSERT INTO `glpi_notifications` VALUES ('2','New Ticket','0','Ticket','new','mail','4','','1','1','2010-02-16 16:41:39');
3568
INSERT INTO `glpi_notifications` VALUES ('3','Update Ticket','0','Ticket','update','mail','4','','1','1','2010-02-16 16:41:39');
3569
INSERT INTO `glpi_notifications` VALUES ('4','Close Ticket','0','Ticket','closed','mail','4','','1','1','2010-02-16 16:41:39');
3570
INSERT INTO `glpi_notifications` VALUES ('5','Add Followup','0','Ticket','add_followup','mail','4','','1','1','2010-02-16 16:41:39');
3571
INSERT INTO `glpi_notifications` VALUES ('6','Add Task','0','Ticket','add_task','mail','4','','1','1','2010-02-16 16:41:39');
3572
INSERT INTO `glpi_notifications` VALUES ('7','Update Followup','0','Ticket','update_followup','mail','4','','1','1','2010-02-16 16:41:39');
3573
INSERT INTO `glpi_notifications` VALUES ('8','Update Task','0','Ticket','update_task','mail','4','','1','1','2010-02-16 16:41:39');
3574
INSERT INTO `glpi_notifications` VALUES ('9','Delete Followup','0','Ticket','delete_followup','mail','4','','1','1','2010-02-16 16:41:39');
3575
INSERT INTO `glpi_notifications` VALUES ('10','Delete Task','0','Ticket','delete_task','mail','4','','1','1','2010-02-16 16:41:39');
3576
INSERT INTO `glpi_notifications` VALUES ('11','Resolve ticket','0','Ticket','solved','mail','4','','1','1','2010-02-16 16:41:39');
3577
INSERT INTO `glpi_notifications` VALUES ('12','Ticket Validation','0','Ticket','validation','mail','7','','1','1','2010-02-16 16:41:39');
3578
INSERT INTO `glpi_notifications` VALUES ('13','New Reservation','0','Reservation','new','mail','2','','1','1','2010-02-16 16:41:39');
3579
INSERT INTO `glpi_notifications` VALUES ('14','Update Reservation','0','Reservation','update','mail','2','','1','1','2010-02-16 16:41:39');
3580
INSERT INTO `glpi_notifications` VALUES ('15','Delete Reservation','0','Reservation','delete','mail','2','','1','1','2010-02-16 16:41:39');
3581
INSERT INTO `glpi_notifications` VALUES ('16','Alert Reservation','0','Reservation','alert','mail','3','','1','1','2010-02-16 16:41:39');
3582
INSERT INTO `glpi_notifications` VALUES ('17','Contract Notice','0','Contract','notice','mail','12','','1','1','2010-02-16 16:41:39');
3583
INSERT INTO `glpi_notifications` VALUES ('18','Contract End','0','Contract','end','mail','12','','1','1','2010-02-16 16:41:39');
3584
INSERT INTO `glpi_notifications` VALUES ('19','MySQL Synchronization','0','DBConnection','desynchronization','mail','1','','1','1','2010-02-16 16:41:39');
3585
INSERT INTO `glpi_notifications` VALUES ('20','Cartridges','0','CartridgeItem','alert','mail','8','','1','1','2010-02-16 16:41:39');
3586
INSERT INTO `glpi_notifications` VALUES ('21','Consumables','0','ConsumableItem','alert','mail','9','','1','1','2010-02-16 16:41:39');
3587
INSERT INTO `glpi_notifications` VALUES ('22','Infocoms','0','Infocom','alert','mail','10','','1','1','2010-02-16 16:41:39');
3588
INSERT INTO `glpi_notifications` VALUES ('23','Software Licenses','0','SoftwareLicense','alert','mail','11','','1','1','2010-02-16 16:41:39');
3589
INSERT INTO `glpi_notifications` VALUES ('24','Ticket Recall','0','Ticket','recall','mail','4','','1','1','2011-03-04 11:35:13');
3590
INSERT INTO `glpi_notifications` VALUES ('25','Password Forget','0','User','passwordforget','mail','13','','1','1','2011-03-04 11:35:13');
3591
INSERT INTO `glpi_notifications` VALUES ('26','Ticket Satisfaction','0','Ticket','satisfaction','mail','14','','1','1','2011-03-04 11:35:15');
3592
INSERT INTO `glpi_notifications` VALUES ('27','Item not unique','0','FieldUnicity','refuse','mail','15','','1','1','2011-03-04 11:35:16');
3593
INSERT INTO `glpi_notifications` VALUES ('28','Crontask Watcher','0','Crontask','alert','mail','16','','1','1','2011-03-04 11:35:16');
3594
INSERT INTO `glpi_notifications` VALUES ('29','New Problem','0','Problem','new','mail','17','','1','1','2011-12-06 09:48:33');
3595
INSERT INTO `glpi_notifications` VALUES ('30','Update Problem','0','Problem','update','mail','17','','1','1','2011-12-06 09:48:33');
3596
INSERT INTO `glpi_notifications` VALUES ('31','Resolve Problem','0','Problem','solved','mail','17','','1','1','2011-12-06 09:48:33');
3597
INSERT INTO `glpi_notifications` VALUES ('32','Add Task','0','Problem','add_task','mail','17','','1','1','2011-12-06 09:48:33');
3598
INSERT INTO `glpi_notifications` VALUES ('33','Update Task','0','Problem','update_task','mail','17','','1','1','2011-12-06 09:48:33');
3599
INSERT INTO `glpi_notifications` VALUES ('34','Delete Task','0','Problem','delete_task','mail','17','','1','1','2011-12-06 09:48:33');
3600
INSERT INTO `glpi_notifications` VALUES ('35','Close Problem','0','Problem','closed','mail','17','','1','1','2011-12-06 09:48:33');
3601
INSERT INTO `glpi_notifications` VALUES ('36','Delete Problem','0','Problem','delete','mail','17','','1','1','2011-12-06 09:48:33');
3602
INSERT INTO `glpi_notifications` VALUES ('37','Ticket Validation Answer','0','Ticket','validation_answer','mail','7','','1','1','2014-01-15 14:35:24');
3603
INSERT INTO `glpi_notifications` VALUES ('38','Contract End Periodicity','0','Contract','periodicity','mail','12','','1','1','2014-01-15 14:35:24');
3604
INSERT INTO `glpi_notifications` VALUES ('39','Contract Notice Periodicity','0','Contract','periodicitynotice','mail','12','','1','1','2014-01-15 14:35:24');
3605
INSERT INTO `glpi_notifications` VALUES ('40','Planning recall','0','PlanningRecall','planningrecall','mail','18','','1','1','2014-01-15 14:35:24');
3606
INSERT INTO `glpi_notifications` VALUES ('41','Delete Ticket','0','Ticket','delete','mail','4','','1','1','2014-01-15 14:35:26');
3607
INSERT INTO `glpi_notifications` VALUES ('42','New Change','0','Change','new','mail','19','','1','1','2014-04-16 16:47:33');
3608
INSERT INTO `glpi_notifications` VALUES ('43','Update Change','0','Change','update','mail','19','','1','1','2014-04-16 16:47:33');
3609
INSERT INTO `glpi_notifications` VALUES ('44','Resolve Change','0','Change','solved','mail','19','','1','1','2014-04-16 16:47:33');
3610
INSERT INTO `glpi_notifications` VALUES ('45','Add Task','0','Change','add_task','mail','19','','1','1','2014-04-16 16:47:33');
3611
INSERT INTO `glpi_notifications` VALUES ('46','Update Task','0','Change','update_task','mail','19','','1','1','2014-04-16 16:47:33');
3612
INSERT INTO `glpi_notifications` VALUES ('47','Delete Task','0','Change','delete_task','mail','19','','1','1','2014-04-16 16:47:33');
3613
INSERT INTO `glpi_notifications` VALUES ('48','Close Change','0','Change','closed','mail','19','','1','1','2014-04-16 16:47:33');
3614
INSERT INTO `glpi_notifications` VALUES ('49','Delete Change','0','Change','delete','mail','19','','1','1','2014-04-16 16:47:33');
3615
INSERT INTO `glpi_notifications` VALUES ('50','Ticket Satisfaction Answer','0','Ticket','replysatisfaction','mail','14','','1','1','2014-04-16 16:47:34');
3616
INSERT INTO `glpi_notifications` VALUES ('51','Receiver errors','0','MailCollector','error','mail','20','','1','1','2014-04-16 16:47:34');
3617
INSERT INTO `glpi_notifications` VALUES ('52','New Project','0','Project','new','mail','21','','1','1','2014-04-16 16:47:36');
3618
INSERT INTO `glpi_notifications` VALUES ('53','Update Project','0','Project','update','mail','21','','1','1','2014-04-16 16:47:36');
3619
INSERT INTO `glpi_notifications` VALUES ('54','Delete Project','0','Project','delete','mail','21','','1','1','2014-04-16 16:47:36');
3620
INSERT INTO `glpi_notifications` VALUES ('55','New Project Task','0','ProjectTask','new','mail','22','','1','1','2014-04-16 16:47:36');
3621
INSERT INTO `glpi_notifications` VALUES ('56','Update Project Task','0','ProjectTask','update','mail','22','','1','1','2014-04-16 16:47:36');
3622
INSERT INTO `glpi_notifications` VALUES ('57','Delete Project Task','0','ProjectTask','delete','mail','22','','1','1','2014-04-16 16:47:36');
3623

  
3624
### Dump table glpi_notificationtargets
3625

  
3626
DROP TABLE IF EXISTS `glpi_notificationtargets`;
3627
CREATE TABLE `glpi_notificationtargets` (
3628
  `id` int(11) NOT NULL AUTO_INCREMENT,
3629
  `items_id` int(11) NOT NULL DEFAULT '0',
3630
  `type` int(11) NOT NULL DEFAULT '0',
3631
  `notifications_id` int(11) NOT NULL DEFAULT '0',
3632
  PRIMARY KEY (`id`),
3633
  KEY `items` (`type`,`items_id`),
3634
  KEY `notifications_id` (`notifications_id`)
3635
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3636

  
3637
INSERT INTO `glpi_notificationtargets` VALUES ('1','3','1','13');
3638
INSERT INTO `glpi_notificationtargets` VALUES ('2','1','1','13');
3639
INSERT INTO `glpi_notificationtargets` VALUES ('3','3','2','2');
3640
INSERT INTO `glpi_notificationtargets` VALUES ('4','1','1','2');
3641
INSERT INTO `glpi_notificationtargets` VALUES ('5','1','1','3');
3642
INSERT INTO `glpi_notificationtargets` VALUES ('6','1','1','5');
3643
INSERT INTO `glpi_notificationtargets` VALUES ('7','1','1','4');
3644
INSERT INTO `glpi_notificationtargets` VALUES ('8','2','1','3');
3645
INSERT INTO `glpi_notificationtargets` VALUES ('9','4','1','3');
3646
INSERT INTO `glpi_notificationtargets` VALUES ('10','3','1','2');
3647
INSERT INTO `glpi_notificationtargets` VALUES ('11','3','1','3');
3648
INSERT INTO `glpi_notificationtargets` VALUES ('12','3','1','5');
3649
INSERT INTO `glpi_notificationtargets` VALUES ('13','3','1','4');
3650
INSERT INTO `glpi_notificationtargets` VALUES ('14','1','1','19');
3651
INSERT INTO `glpi_notificationtargets` VALUES ('15','14','1','12');
3652
INSERT INTO `glpi_notificationtargets` VALUES ('16','3','1','14');
3653
INSERT INTO `glpi_notificationtargets` VALUES ('17','1','1','14');
3654
INSERT INTO `glpi_notificationtargets` VALUES ('18','3','1','15');
3655
INSERT INTO `glpi_notificationtargets` VALUES ('19','1','1','15');
3656
INSERT INTO `glpi_notificationtargets` VALUES ('20','1','1','6');
3657
INSERT INTO `glpi_notificationtargets` VALUES ('21','3','1','6');
3658
INSERT INTO `glpi_notificationtargets` VALUES ('22','1','1','7');
3659
INSERT INTO `glpi_notificationtargets` VALUES ('23','3','1','7');
3660
INSERT INTO `glpi_notificationtargets` VALUES ('24','1','1','8');
3661
INSERT INTO `glpi_notificationtargets` VALUES ('25','3','1','8');
3662
INSERT INTO `glpi_notificationtargets` VALUES ('26','1','1','9');
3663
INSERT INTO `glpi_notificationtargets` VALUES ('27','3','1','9');
3664
INSERT INTO `glpi_notificationtargets` VALUES ('28','1','1','10');
3665
INSERT INTO `glpi_notificationtargets` VALUES ('29','3','1','10');
3666
INSERT INTO `glpi_notificationtargets` VALUES ('30','1','1','11');
3667
INSERT INTO `glpi_notificationtargets` VALUES ('31','3','1','11');
3668
INSERT INTO `glpi_notificationtargets` VALUES ('32','19','1','25');
3669
INSERT INTO `glpi_notificationtargets` VALUES ('33','3','1','26');
3670
INSERT INTO `glpi_notificationtargets` VALUES ('34','21','1','2');
3671
INSERT INTO `glpi_notificationtargets` VALUES ('35','21','1','3');
3672
INSERT INTO `glpi_notificationtargets` VALUES ('36','21','1','5');
3673
INSERT INTO `glpi_notificationtargets` VALUES ('37','21','1','4');
3674
INSERT INTO `glpi_notificationtargets` VALUES ('38','21','1','6');
3675
INSERT INTO `glpi_notificationtargets` VALUES ('39','21','1','7');
3676
INSERT INTO `glpi_notificationtargets` VALUES ('40','21','1','8');
3677
INSERT INTO `glpi_notificationtargets` VALUES ('41','21','1','9');
3678
INSERT INTO `glpi_notificationtargets` VALUES ('42','21','1','10');
3679
INSERT INTO `glpi_notificationtargets` VALUES ('43','21','1','11');
3680
INSERT INTO `glpi_notificationtargets` VALUES ('75','1','1','41');
3681
INSERT INTO `glpi_notificationtargets` VALUES ('46','1','1','28');
3682
INSERT INTO `glpi_notificationtargets` VALUES ('47','3','1','29');
3683
INSERT INTO `glpi_notificationtargets` VALUES ('48','1','1','29');
3684
INSERT INTO `glpi_notificationtargets` VALUES ('49','21','1','29');
3685
INSERT INTO `glpi_notificationtargets` VALUES ('50','2','1','30');
3686
INSERT INTO `glpi_notificationtargets` VALUES ('51','4','1','30');
3687
INSERT INTO `glpi_notificationtargets` VALUES ('52','3','1','30');
3688
INSERT INTO `glpi_notificationtargets` VALUES ('53','1','1','30');
3689
INSERT INTO `glpi_notificationtargets` VALUES ('54','21','1','30');
3690
INSERT INTO `glpi_notificationtargets` VALUES ('55','3','1','31');
3691
INSERT INTO `glpi_notificationtargets` VALUES ('56','1','1','31');
3692
INSERT INTO `glpi_notificationtargets` VALUES ('57','21','1','31');
3693
INSERT INTO `glpi_notificationtargets` VALUES ('58','3','1','32');
3694
INSERT INTO `glpi_notificationtargets` VALUES ('59','1','1','32');
3695
INSERT INTO `glpi_notificationtargets` VALUES ('60','21','1','32');
3696
INSERT INTO `glpi_notificationtargets` VALUES ('61','3','1','33');
3697
INSERT INTO `glpi_notificationtargets` VALUES ('62','1','1','33');
3698
INSERT INTO `glpi_notificationtargets` VALUES ('63','21','1','33');
3699
INSERT INTO `glpi_notificationtargets` VALUES ('64','3','1','34');
3700
INSERT INTO `glpi_notificationtargets` VALUES ('65','1','1','34');
3701
INSERT INTO `glpi_notificationtargets` VALUES ('66','21','1','34');
3702
INSERT INTO `glpi_notificationtargets` VALUES ('67','3','1','35');
3703
INSERT INTO `glpi_notificationtargets` VALUES ('68','1','1','35');
3704
INSERT INTO `glpi_notificationtargets` VALUES ('69','21','1','35');
3705
INSERT INTO `glpi_notificationtargets` VALUES ('70','3','1','36');
3706
INSERT INTO `glpi_notificationtargets` VALUES ('71','1','1','36');
3707
INSERT INTO `glpi_notificationtargets` VALUES ('72','21','1','36');
3708
INSERT INTO `glpi_notificationtargets` VALUES ('73','14','1','37');
3709
INSERT INTO `glpi_notificationtargets` VALUES ('74','3','1','40');
3710
INSERT INTO `glpi_notificationtargets` VALUES ('76','3','1','42');
3711
INSERT INTO `glpi_notificationtargets` VALUES ('77','1','1','42');
3712
INSERT INTO `glpi_notificationtargets` VALUES ('78','21','1','42');
3713
INSERT INTO `glpi_notificationtargets` VALUES ('79','2','1','43');
3714
INSERT INTO `glpi_notificationtargets` VALUES ('80','4','1','43');
3715
INSERT INTO `glpi_notificationtargets` VALUES ('81','3','1','43');
3716
INSERT INTO `glpi_notificationtargets` VALUES ('82','1','1','43');
3717
INSERT INTO `glpi_notificationtargets` VALUES ('83','21','1','43');
3718
INSERT INTO `glpi_notificationtargets` VALUES ('84','3','1','44');
3719
INSERT INTO `glpi_notificationtargets` VALUES ('85','1','1','44');
3720
INSERT INTO `glpi_notificationtargets` VALUES ('86','21','1','44');
3721
INSERT INTO `glpi_notificationtargets` VALUES ('87','3','1','45');
3722
INSERT INTO `glpi_notificationtargets` VALUES ('88','1','1','45');
3723
INSERT INTO `glpi_notificationtargets` VALUES ('89','21','1','45');
3724
INSERT INTO `glpi_notificationtargets` VALUES ('90','3','1','46');
3725
INSERT INTO `glpi_notificationtargets` VALUES ('91','1','1','46');
3726
INSERT INTO `glpi_notificationtargets` VALUES ('92','21','1','46');
3727
INSERT INTO `glpi_notificationtargets` VALUES ('93','3','1','47');
3728
INSERT INTO `glpi_notificationtargets` VALUES ('94','1','1','47');
3729
INSERT INTO `glpi_notificationtargets` VALUES ('95','21','1','47');
3730
INSERT INTO `glpi_notificationtargets` VALUES ('96','3','1','48');
3731
INSERT INTO `glpi_notificationtargets` VALUES ('97','1','1','48');
3732
INSERT INTO `glpi_notificationtargets` VALUES ('98','21','1','48');
3733
INSERT INTO `glpi_notificationtargets` VALUES ('99','3','1','49');
3734
INSERT INTO `glpi_notificationtargets` VALUES ('100','1','1','49');
3735
INSERT INTO `glpi_notificationtargets` VALUES ('101','21','1','49');
3736
INSERT INTO `glpi_notificationtargets` VALUES ('102','3','1','50');
3737
INSERT INTO `glpi_notificationtargets` VALUES ('103','2','1','50');
3738
INSERT INTO `glpi_notificationtargets` VALUES ('104','1','1','51');
3739
INSERT INTO `glpi_notificationtargets` VALUES ('105','27','1','52');
3740
INSERT INTO `glpi_notificationtargets` VALUES ('106','1','1','52');
3741
INSERT INTO `glpi_notificationtargets` VALUES ('107','28','1','52');
3742
INSERT INTO `glpi_notificationtargets` VALUES ('108','27','1','53');
3743
INSERT INTO `glpi_notificationtargets` VALUES ('109','1','1','53');
3744
INSERT INTO `glpi_notificationtargets` VALUES ('110','28','1','53');
3745
INSERT INTO `glpi_notificationtargets` VALUES ('111','27','1','54');
3746
INSERT INTO `glpi_notificationtargets` VALUES ('112','1','1','54');
3747
INSERT INTO `glpi_notificationtargets` VALUES ('113','28','1','54');
3748
INSERT INTO `glpi_notificationtargets` VALUES ('114','31','1','55');
3749
INSERT INTO `glpi_notificationtargets` VALUES ('115','1','1','55');
3750
INSERT INTO `glpi_notificationtargets` VALUES ('116','32','1','55');
3751
INSERT INTO `glpi_notificationtargets` VALUES ('117','31','1','56');
3752
INSERT INTO `glpi_notificationtargets` VALUES ('118','1','1','56');
3753
INSERT INTO `glpi_notificationtargets` VALUES ('119','32','1','56');
3754
INSERT INTO `glpi_notificationtargets` VALUES ('120','31','1','57');
3755
INSERT INTO `glpi_notificationtargets` VALUES ('121','1','1','57');
3756
INSERT INTO `glpi_notificationtargets` VALUES ('122','32','1','57');
3757

  
3758
### Dump table glpi_notificationtemplates
3759

  
3760
DROP TABLE IF EXISTS `glpi_notificationtemplates`;
3761
CREATE TABLE `glpi_notificationtemplates` (
3762
  `id` int(11) NOT NULL AUTO_INCREMENT,
3763
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
3764
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
3765
  `date_mod` datetime DEFAULT NULL,
3766
  `comment` text COLLATE utf8_unicode_ci,
3767
  `css` text COLLATE utf8_unicode_ci,
3768
  PRIMARY KEY (`id`),
3769
  KEY `itemtype` (`itemtype`),
3770
  KEY `date_mod` (`date_mod`),
3771
  KEY `name` (`name`)
3772
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3773

  
3774
INSERT INTO `glpi_notificationtemplates` VALUES ('1','MySQL Synchronization','DBConnection','2010-02-01 15:51:46','',NULL);
3775
INSERT INTO `glpi_notificationtemplates` VALUES ('2','Reservations','Reservation','2010-02-03 14:03:45','',NULL);
3776
INSERT INTO `glpi_notificationtemplates` VALUES ('3','Alert Reservation','Reservation','2010-02-03 14:03:45','',NULL);
3777
INSERT INTO `glpi_notificationtemplates` VALUES ('4','Tickets','Ticket','2010-02-07 21:39:15','',NULL);
3778
INSERT INTO `glpi_notificationtemplates` VALUES ('5','Tickets (Simple)','Ticket','2010-02-07 21:39:15','',NULL);
3779
INSERT INTO `glpi_notificationtemplates` VALUES ('6','Alert Tickets not closed','Ticket','2010-02-07 21:39:15','',NULL);
3780
INSERT INTO `glpi_notificationtemplates` VALUES ('7','Tickets Validation','Ticket','2010-02-26 21:39:15','',NULL);
3781
INSERT INTO `glpi_notificationtemplates` VALUES ('8','Cartridges','CartridgeItem','2010-02-16 13:17:24','',NULL);
3782
INSERT INTO `glpi_notificationtemplates` VALUES ('9','Consumables','ConsumableItem','2010-02-16 13:17:38','',NULL);
3783
INSERT INTO `glpi_notificationtemplates` VALUES ('10','Infocoms','Infocom','2010-02-16 13:17:55','',NULL);
3784
INSERT INTO `glpi_notificationtemplates` VALUES ('11','Licenses','SoftwareLicense','2010-02-16 13:18:12','',NULL);
3785
INSERT INTO `glpi_notificationtemplates` VALUES ('12','Contracts','Contract','2010-02-16 13:18:12','',NULL);
3786
INSERT INTO `glpi_notificationtemplates` VALUES ('13','Password Forget','User','2011-03-04 11:35:13',NULL,NULL);
3787
INSERT INTO `glpi_notificationtemplates` VALUES ('14','Ticket Satisfaction','Ticket','2011-03-04 11:35:15',NULL,NULL);
3788
INSERT INTO `glpi_notificationtemplates` VALUES ('15','Item not unique','FieldUnicity','2011-03-04 11:35:16',NULL,NULL);
3789
INSERT INTO `glpi_notificationtemplates` VALUES ('16','Crontask','Crontask','2011-03-04 11:35:16',NULL,NULL);
3790
INSERT INTO `glpi_notificationtemplates` VALUES ('17','Problems','Problem','2011-12-06 09:48:33',NULL,NULL);
3791
INSERT INTO `glpi_notificationtemplates` VALUES ('18','Planning recall','PlanningRecall','2014-01-15 14:35:24',NULL,NULL);
3792
INSERT INTO `glpi_notificationtemplates` VALUES ('19','Changes','Change','2014-04-16 16:47:33',NULL,NULL);
3793
INSERT INTO `glpi_notificationtemplates` VALUES ('20','Receiver errors','MailCollector','2014-04-16 16:47:34',NULL,NULL);
3794
INSERT INTO `glpi_notificationtemplates` VALUES ('21','Projects','Project','2014-04-16 16:47:36',NULL,NULL);
3795
INSERT INTO `glpi_notificationtemplates` VALUES ('22','Project Tasks','ProjectTask','2014-04-16 16:47:36',NULL,NULL);
3796

  
3797
### Dump table glpi_notificationtemplatetranslations
3798

  
3799
DROP TABLE IF EXISTS `glpi_notificationtemplatetranslations`;
3800
CREATE TABLE `glpi_notificationtemplatetranslations` (
3801
  `id` int(11) NOT NULL AUTO_INCREMENT,
3802
  `notificationtemplates_id` int(11) NOT NULL DEFAULT '0',
3803
  `language` char(5) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
3804
  `subject` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
3805
  `content_text` text COLLATE utf8_unicode_ci,
3806
  `content_html` text COLLATE utf8_unicode_ci,
3807
  PRIMARY KEY (`id`),
3808
  KEY `notificationtemplates_id` (`notificationtemplates_id`)
3809
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
3810

  
3811
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('1','1','','##lang.dbconnection.title##','##lang.dbconnection.delay## : ##dbconnection.delay##
3812
','&lt;p&gt;##lang.dbconnection.delay## : ##dbconnection.delay##&lt;/p&gt;');
3813
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('2','2','','##reservation.action##','======================================================================
3814
##lang.reservation.user##: ##reservation.user##
3815
##lang.reservation.item.name##: ##reservation.itemtype## - ##reservation.item.name##
3816
##IFreservation.tech## ##lang.reservation.tech## ##reservation.tech## ##ENDIFreservation.tech##
3817
##lang.reservation.begin##: ##reservation.begin##
3818
##lang.reservation.end##: ##reservation.end##
3819
##lang.reservation.comment##: ##reservation.comment##
3820
======================================================================
3821
','&lt;!-- description{ color: inherit; background: #ebebeb;border-style: solid;border-color: #8d8d8d; border-width: 0px 1px 1px 0px; } --&gt;
3822
&lt;p&gt;&lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;##lang.reservation.user##:&lt;/span&gt;##reservation.user##&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;##lang.reservation.item.name##:&lt;/span&gt;##reservation.itemtype## - ##reservation.item.name##&lt;br /&gt;##IFreservation.tech## ##lang.reservation.tech## ##reservation.tech####ENDIFreservation.tech##&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;##lang.reservation.begin##:&lt;/span&gt; ##reservation.begin##&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;##lang.reservation.end##:&lt;/span&gt;##reservation.end##&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;##lang.reservation.comment##:&lt;/span&gt; ##reservation.comment##&lt;/p&gt;');
3823
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('3','3','','##reservation.action##  ##reservation.entity##','##lang.reservation.entity## : ##reservation.entity## 
3824

  
3825
 
3826
##FOREACHreservations## 
3827
##lang.reservation.itemtype## : ##reservation.itemtype##
3828

  
3829
 ##lang.reservation.item## : ##reservation.item##
3830
 
3831
 ##reservation.url## 
3832

  
3833
 ##ENDFOREACHreservations##','&lt;p&gt;##lang.reservation.entity## : ##reservation.entity## &lt;br /&gt; &lt;br /&gt;
3834
##FOREACHreservations## &lt;br /&gt;##lang.reservation.itemtype## :  ##reservation.itemtype##&lt;br /&gt;
3835
 ##lang.reservation.item## :  ##reservation.item##&lt;br /&gt; &lt;br /&gt;
3836
 &lt;a href=\"##reservation.url##\"&gt; ##reservation.url##&lt;/a&gt;&lt;br /&gt;
3837
 ##ENDFOREACHreservations##&lt;/p&gt;');
3838
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('4','4','','##ticket.action## ##ticket.title##',' ##IFticket.storestatus=5##
3839
 ##lang.ticket.url## : ##ticket.urlapprove##
3840
 ##lang.ticket.autoclosewarning##
3841
 ##lang.ticket.solvedate## : ##ticket.solvedate##
3842
 ##lang.ticket.solution.type## : ##ticket.solution.type##
3843
 ##lang.ticket.solution.description## : ##ticket.solution.description## ##ENDIFticket.storestatus##
3844
 ##ELSEticket.storestatus## ##lang.ticket.url## : ##ticket.url## ##ENDELSEticket.storestatus##
3845

  
3846
 ##lang.ticket.description##
3847

  
3848
 ##lang.ticket.title## : ##ticket.title##
3849
 ##lang.ticket.authors## : ##IFticket.authors## ##ticket.authors## ##ENDIFticket.authors## ##ELSEticket.authors##--##ENDELSEticket.authors##
3850
 ##lang.ticket.creationdate## : ##ticket.creationdate##
3851
 ##lang.ticket.closedate## : ##ticket.closedate##
3852
 ##lang.ticket.requesttype## : ##ticket.requesttype##
3853
##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##
3854
##IFticket.assigntousers## ##lang.ticket.assigntousers## : ##ticket.assigntousers## ##ENDIFticket.assigntousers##
3855
 ##lang.ticket.status## : ##ticket.status##
3856
##IFticket.assigntogroups## ##lang.ticket.assigntogroups## : ##ticket.assigntogroups## ##ENDIFticket.assigntogroups##
3857
 ##lang.ticket.urgency## : ##ticket.urgency##
3858
 ##lang.ticket.impact## : ##ticket.impact##
3859
 ##lang.ticket.priority## : ##ticket.priority##
3860
##IFticket.user.email## ##lang.ticket.user.email## : ##ticket.user.email ##ENDIFticket.user.email##
3861
##IFticket.category## ##lang.ticket.category## : ##ticket.category## ##ENDIFticket.category## ##ELSEticket.category## ##lang.ticket.nocategoryassigned## ##ENDELSEticket.category##
3862
 ##lang.ticket.content## : ##ticket.content##
3863
 ##IFticket.storestatus=6##
3864

  
3865
 ##lang.ticket.solvedate## : ##ticket.solvedate##
3866
 ##lang.ticket.solution.type## : ##ticket.solution.type##
3867
 ##lang.ticket.solution.description## : ##ticket.solution.description##
3868
 ##ENDIFticket.storestatus##
3869
 ##lang.ticket.numberoffollowups## : ##ticket.numberoffollowups##
3870

  
3871
##FOREACHfollowups##
3872

  
3873
 [##followup.date##] ##lang.followup.isprivate## : ##followup.isprivate##
3874
 ##lang.followup.author## ##followup.author##
3875
 ##lang.followup.description## ##followup.description##
3876
 ##lang.followup.date## ##followup.date##
3877
 ##lang.followup.requesttype## ##followup.requesttype##
3878

  
3879
##ENDFOREACHfollowups##
3880
 ##lang.ticket.numberoftasks## : ##ticket.numberoftasks##
3881

  
3882
##FOREACHtasks##
3883

  
3884
 [##task.date##] ##lang.task.isprivate## : ##task.isprivate##
3885
 ##lang.task.author## ##task.author##
3886
 ##lang.task.description## ##task.description##
3887
 ##lang.task.time## ##task.time##
3888
 ##lang.task.category## ##task.category##
3889

  
3890
##ENDFOREACHtasks##','<!-- description{ color: inherit; background: #ebebeb; border-style: solid;border-color: #8d8d8d; border-width: 0px 1px 1px 0px; }    -->
3891
<div>##IFticket.storestatus=5##</div>
3892
<div>##lang.ticket.url## : <a href=\"##ticket.urlapprove##\">##ticket.urlapprove##</a> <strong>&#160;</strong></div>
3893
<div><strong>##lang.ticket.autoclosewarning##</strong></div>
3894
<div><span style=\"color: #888888;\"><strong><span style=\"text-decoration: underline;\">##lang.ticket.solvedate##</span></strong></span> : ##ticket.solvedate##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.ticket.solution.type##</strong></span> : ##ticket.solution.type##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.ticket.solution.description##</strong></span> : ##ticket.solution.description## ##ENDIFticket.storestatus##</div>
3895
<div>##ELSEticket.storestatus## ##lang.ticket.url## : <a href=\"##ticket.url##\">##ticket.url##</a> ##ENDELSEticket.storestatus##</div>
3896
<p class=\"description b\"><strong>##lang.ticket.description##</strong></p>
3897
<p><span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.ticket.title##</span>&#160;:##ticket.title## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.ticket.authors##</span>&#160;:##IFticket.authors## ##ticket.authors## ##ENDIFticket.authors##    ##ELSEticket.authors##--##ENDELSEticket.authors## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.ticket.creationdate##</span>&#160;:##ticket.creationdate## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.ticket.closedate##</span>&#160;:##ticket.closedate## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.ticket.requesttype##</span>&#160;:##ticket.requesttype##<br /> ##IFticket.itemtype## <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.ticket.item.name##</span>&#160;: ##ticket.itemtype## - ##ticket.item.name##    ##IFticket.item.model## - ##ticket.item.model##    ##ENDIFticket.item.model## ##IFticket.item.serial## -##ticket.item.serial## ##ENDIFticket.item.serial##&#160; ##IFticket.item.otherserial## -##ticket.item.otherserial##  ##ENDIFticket.item.otherserial## ##ENDIFticket.itemtype## <br /> ##IFticket.assigntousers## <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.ticket.assigntousers##</span>&#160;: ##ticket.assigntousers## ##ENDIFticket.assigntousers##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.ticket.status## </span>&#160;: ##ticket.status##<br /> ##IFticket.assigntogroups## <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.ticket.assigntogroups##</span>&#160;: ##ticket.assigntogroups## ##ENDIFticket.assigntogroups##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.ticket.urgency##</span>&#160;: ##ticket.urgency##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.ticket.impact##</span>&#160;: ##ticket.impact##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.ticket.priority##</span>&#160;: ##ticket.priority## <br /> ##IFticket.user.email##<span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.ticket.user.email##</span>&#160;: ##ticket.user.email ##ENDIFticket.user.email##    <br /> ##IFticket.category##<span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.ticket.category## </span>&#160;:##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>&#160;: ##ticket.content##</p>
3898
<br />##IFticket.storestatus=6##<br /><span style=\"text-decoration: underline;\"><strong><span style=\"color: #888888;\">##lang.ticket.solvedate##</span></strong></span> : ##ticket.solvedate##<br /><span style=\"color: #888888;\"><strong><span style=\"text-decoration: underline;\">##lang.ticket.solution.type##</span></strong></span> : ##ticket.solution.type##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.ticket.solution.description##</strong></span> : ##ticket.solution.description##<br />##ENDIFticket.storestatus##</p>
3899
<div class=\"description b\">##lang.ticket.numberoffollowups##&#160;: ##ticket.numberoffollowups##</div>
3900
<p>##FOREACHfollowups##</p>
3901
<div class=\"description b\"><br /> <strong> [##followup.date##] <em>##lang.followup.isprivate## : ##followup.isprivate## </em></strong><br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.followup.author## </span> ##followup.author##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.followup.description## </span> ##followup.description##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.followup.date## </span> ##followup.date##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.followup.requesttype## </span> ##followup.requesttype##</div>
3902
<p>##ENDFOREACHfollowups##</p>
3903
<div class=\"description b\">##lang.ticket.numberoftasks##&#160;: ##ticket.numberoftasks##</div>
3904
<p>##FOREACHtasks##</p>
3905
<div class=\"description b\"><br /> <strong> [##task.date##] <em>##lang.task.isprivate## : ##task.isprivate## </em></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>
3906
<p>##ENDFOREACHtasks##</p>');
3907
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('5','12','','##contract.action##  ##contract.entity##','##lang.contract.entity## : ##contract.entity##
3908

  
3909
##FOREACHcontracts##
3910
##lang.contract.name## : ##contract.name##
3911
##lang.contract.number## : ##contract.number##
3912
##lang.contract.time## : ##contract.time##
3913
##IFcontract.type####lang.contract.type## : ##contract.type####ENDIFcontract.type##
3914
##contract.url##
3915
##ENDFOREACHcontracts##','&lt;p&gt;##lang.contract.entity## : ##contract.entity##&lt;br /&gt;
3916
&lt;br /&gt;##FOREACHcontracts##&lt;br /&gt;##lang.contract.name## :
3917
##contract.name##&lt;br /&gt;
3918
##lang.contract.number## : ##contract.number##&lt;br /&gt;
3919
##lang.contract.time## : ##contract.time##&lt;br /&gt;
3920
##IFcontract.type####lang.contract.type## : ##contract.type##
3921
##ENDIFcontract.type##&lt;br /&gt;
3922
&lt;a href=\"##contract.url##\"&gt;
3923
##contract.url##&lt;/a&gt;&lt;br /&gt;
3924
##ENDFOREACHcontracts##&lt;/p&gt;');
3925
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('6','5','','##ticket.action## ##ticket.title##','##lang.ticket.url## : ##ticket.url## 
3926

  
3927
##lang.ticket.description## 
3928

  
3929

  
3930
##lang.ticket.title##  :##ticket.title## 
3931

  
3932
##lang.ticket.authors##  :##IFticket.authors##
3933
##ticket.authors## ##ENDIFticket.authors##
3934
##ELSEticket.authors##--##ENDELSEticket.authors##   
3935

  
3936
##IFticket.category## ##lang.ticket.category##  :##ticket.category##
3937
##ENDIFticket.category## ##ELSEticket.category##
3938
##lang.ticket.nocategoryassigned## ##ENDELSEticket.category##
3939

  
3940
##lang.ticket.content##  : ##ticket.content##
3941
##IFticket.itemtype##
3942
##lang.ticket.item.name##  : ##ticket.itemtype## - ##ticket.item.name##
3943
##ENDIFticket.itemtype##','&lt;div&gt;##lang.ticket.url## : &lt;a href=\"##ticket.url##\"&gt;
3944
##ticket.url##&lt;/a&gt;&lt;/div&gt;
3945
&lt;div class=\"description b\"&gt;
3946
##lang.ticket.description##&lt;/div&gt;
3947
&lt;p&gt;&lt;span
3948
style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;
3949
##lang.ticket.title##&lt;/span&gt;&#160;:##ticket.title##
3950
&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;
3951
##lang.ticket.authors##&lt;/span&gt;
3952
##IFticket.authors## ##ticket.authors##
3953
##ENDIFticket.authors##
3954
##ELSEticket.authors##--##ENDELSEticket.authors##
3955
&lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;&#160
3956
;&lt;/span&gt;&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; &lt;/span&gt;
3957
##IFticket.category##&lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;
3958
##lang.ticket.category## &lt;/span&gt;&#160;:##ticket.category##
3959
##ENDIFticket.category## ##ELSEticket.category##
3960
##lang.ticket.nocategoryassigned## ##ENDELSEticket.category##
3961
&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;
3962
##lang.ticket.content##&lt;/span&gt;&#160;:
3963
##ticket.content##&lt;br /&gt;##IFticket.itemtype##
3964
&lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;
3965
##lang.ticket.item.name##&lt;/span&gt;&#160;:
3966
##ticket.itemtype## - ##ticket.item.name##
3967
##ENDIFticket.itemtype##&lt;/p&gt;');
3968
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('15','15','','##lang.unicity.action##','##lang.unicity.entity## : ##unicity.entity## 
3969

  
3970
##lang.unicity.itemtype## : ##unicity.itemtype## 
3971

  
3972
##lang.unicity.message## : ##unicity.message## 
3973

  
3974
##lang.unicity.action_user## : ##unicity.action_user## 
3975

  
3976
##lang.unicity.action_type## : ##unicity.action_type## 
3977

  
3978
##lang.unicity.date## : ##unicity.date##','&lt;p&gt;##lang.unicity.entity## : ##unicity.entity##&lt;/p&gt;
3979
&lt;p&gt;##lang.unicity.itemtype## : ##unicity.itemtype##&lt;/p&gt;
3980
&lt;p&gt;##lang.unicity.message## : ##unicity.message##&lt;/p&gt;
3981
&lt;p&gt;##lang.unicity.action_user## : ##unicity.action_user##&lt;/p&gt;
3982
&lt;p&gt;##lang.unicity.action_type## : ##unicity.action_type##&lt;/p&gt;
3983
&lt;p&gt;##lang.unicity.date## : ##unicity.date##&lt;/p&gt;');
3984
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('7','7','','##ticket.action## ##ticket.title##','##FOREACHvalidations##
3985

  
3986
##IFvalidation.storestatus=2##
3987
##validation.submission.title##
3988
##lang.validation.commentsubmission## : ##validation.commentsubmission##
3989
##ENDIFvalidation.storestatus##
3990
##ELSEvalidation.storestatus## ##validation.answer.title## ##ENDELSEvalidation.storestatus##
3991

  
3992
##lang.ticket.url## : ##ticket.urlvalidation##
3993

  
3994
##IFvalidation.status## ##lang.validation.status## : ##validation.status## ##ENDIFvalidation.status##
3995
##IFvalidation.commentvalidation##
3996
##lang.validation.commentvalidation## : ##validation.commentvalidation##
3997
##ENDIFvalidation.commentvalidation##
3998
##ENDFOREACHvalidations##','&lt;div&gt;##FOREACHvalidations##&lt;/div&gt;
3999
&lt;p&gt;##IFvalidation.storestatus=2##&lt;/p&gt;
4000
&lt;div&gt;##validation.submission.title##&lt;/div&gt;
4001
&lt;div&gt;##lang.validation.commentsubmission## : ##validation.commentsubmission##&lt;/div&gt;
4002
&lt;div&gt;##ENDIFvalidation.storestatus##&lt;/div&gt;
4003
&lt;div&gt;##ELSEvalidation.storestatus## ##validation.answer.title## ##ENDELSEvalidation.storestatus##&lt;/div&gt;
4004
&lt;div&gt;&lt;/div&gt;
4005
&lt;div&gt;
4006
&lt;div&gt;##lang.ticket.url## : &lt;a href=\"##ticket.urlvalidation##\"&gt; ##ticket.urlvalidation## &lt;/a&gt;&lt;/div&gt;
4007
&lt;/div&gt;
4008
&lt;p&gt;##IFvalidation.status## ##lang.validation.status## : ##validation.status## ##ENDIFvalidation.status##
4009
&lt;br /&gt; ##IFvalidation.commentvalidation##&lt;br /&gt; ##lang.validation.commentvalidation## :
4010
&#160; ##validation.commentvalidation##&lt;br /&gt; ##ENDIFvalidation.commentvalidation##
4011
&lt;br /&gt;##ENDFOREACHvalidations##&lt;/p&gt;');
4012
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('8','6','','##ticket.action## ##ticket.entity##','##lang.ticket.entity## : ##ticket.entity##
4013
 
4014
##FOREACHtickets##
4015

  
4016
##lang.ticket.title## : ##ticket.title##
4017
 ##lang.ticket.status## : ##ticket.status##
4018

  
4019
 ##ticket.url## 
4020
 ##ENDFOREACHtickets##','&lt;table class=\"tab_cadre\" border=\"1\" cellspacing=\"2\" cellpadding=\"3\"&gt;
4021
&lt;tbody&gt;
4022
&lt;tr&gt;
4023
&lt;td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##lang.ticket.authors##&lt;/span&gt;&lt;/td&gt;
4024
&lt;td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##lang.ticket.title##&lt;/span&gt;&lt;/td&gt;
4025
&lt;td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##lang.ticket.priority##&lt;/span&gt;&lt;/td&gt;
4026
&lt;td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##lang.ticket.status##&lt;/span&gt;&lt;/td&gt;
4027
&lt;td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##lang.ticket.attribution##&lt;/span&gt;&lt;/td&gt;
4028
&lt;td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##lang.ticket.creationdate##&lt;/span&gt;&lt;/td&gt;
4029
&lt;td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##lang.ticket.content##&lt;/span&gt;&lt;/td&gt;
4030
&lt;/tr&gt;
4031
##FOREACHtickets##                   
4032
&lt;tr&gt;
4033
&lt;td width=\"auto\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##ticket.authors##&lt;/span&gt;&lt;/td&gt;
4034
&lt;td width=\"auto\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;&lt;a href=\"##ticket.url##\"&gt;##ticket.title##&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
4035
&lt;td width=\"auto\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##ticket.priority##&lt;/span&gt;&lt;/td&gt;
4036
&lt;td width=\"auto\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##ticket.status##&lt;/span&gt;&lt;/td&gt;
4037
&lt;td width=\"auto\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##IFticket.assigntousers####ticket.assigntousers##&lt;br /&gt;##ENDIFticket.assigntousers####IFticket.assigntogroups##&lt;br /&gt;##ticket.assigntogroups## ##ENDIFticket.assigntogroups####IFticket.assigntosupplier##&lt;br /&gt;##ticket.assigntosupplier## ##ENDIFticket.assigntosupplier##&lt;/span&gt;&lt;/td&gt;
4038
&lt;td width=\"auto\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##ticket.creationdate##&lt;/span&gt;&lt;/td&gt;
4039
&lt;td width=\"auto\"&gt;&lt;span style=\"font-size: 11px; text-align: left;\"&gt;##ticket.content##&lt;/span&gt;&lt;/td&gt;
4040
&lt;/tr&gt;
4041
##ENDFOREACHtickets##
4042
&lt;/tbody&gt;
4043
&lt;/table&gt;');
4044
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('9','9','','##consumable.action##  ##consumable.entity##','##lang.consumable.entity## : ##consumable.entity##
4045
 
4046

  
4047
##FOREACHconsumables##
4048
##lang.consumable.item## : ##consumable.item##
4049
 
4050

  
4051
##lang.consumable.reference## : ##consumable.reference##
4052

  
4053
##lang.consumable.remaining## : ##consumable.remaining##
4054

  
4055
##consumable.url## 
4056

  
4057
##ENDFOREACHconsumables##','&lt;p&gt;
4058
##lang.consumable.entity## : ##consumable.entity##
4059
&lt;br /&gt; &lt;br /&gt;##FOREACHconsumables##
4060
&lt;br /&gt;##lang.consumable.item## : ##consumable.item##&lt;br /&gt;
4061
&lt;br /&gt;##lang.consumable.reference## : ##consumable.reference##&lt;br /&gt;
4062
##lang.consumable.remaining## : ##consumable.remaining##&lt;br /&gt;
4063
&lt;a href=\"##consumable.url##\"&gt; ##consumable.url##&lt;/a&gt;&lt;br /&gt;
4064
   ##ENDFOREACHconsumables##&lt;/p&gt;');
4065
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('10','8','','##cartridge.action##  ##cartridge.entity##','##lang.cartridge.entity## : ##cartridge.entity##
4066
 
4067

  
4068
##FOREACHcartridges##
4069
##lang.cartridge.item## : ##cartridge.item##
4070
 
4071

  
4072
##lang.cartridge.reference## : ##cartridge.reference##
4073

  
4074
##lang.cartridge.remaining## : ##cartridge.remaining##
4075

  
4076
##cartridge.url## 
4077
 ##ENDFOREACHcartridges##','&lt;p&gt;##lang.cartridge.entity## : ##cartridge.entity##
4078
&lt;br /&gt; &lt;br /&gt;##FOREACHcartridges##
4079
&lt;br /&gt;##lang.cartridge.item## :
4080
##cartridge.item##&lt;br /&gt; &lt;br /&gt;
4081
##lang.cartridge.reference## :
4082
##cartridge.reference##&lt;br /&gt;
4083
##lang.cartridge.remaining## :
4084
##cartridge.remaining##&lt;br /&gt;
4085
&lt;a href=\"##cartridge.url##\"&gt;
4086
##cartridge.url##&lt;/a&gt;&lt;br /&gt;
4087
##ENDFOREACHcartridges##&lt;/p&gt;');
4088
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('11','10','','##infocom.action##  ##infocom.entity##','##lang.infocom.entity## : ##infocom.entity## 
4089
 
4090

  
4091
##FOREACHinfocoms## 
4092

  
4093
##lang.infocom.itemtype## : ##infocom.itemtype##
4094

  
4095
##lang.infocom.item## : ##infocom.item##
4096
 
4097

  
4098
##lang.infocom.expirationdate## : ##infocom.expirationdate##
4099

  
4100
##infocom.url## 
4101
 ##ENDFOREACHinfocoms##','&lt;p&gt;##lang.infocom.entity## : ##infocom.entity##
4102
&lt;br /&gt; &lt;br /&gt;##FOREACHinfocoms##
4103
&lt;br /&gt;##lang.infocom.itemtype## : ##infocom.itemtype##&lt;br /&gt;
4104
##lang.infocom.item## : ##infocom.item##&lt;br /&gt; &lt;br /&gt;
4105
##lang.infocom.expirationdate## : ##infocom.expirationdate##
4106
&lt;br /&gt; &lt;a href=\"##infocom.url##\"&gt;
4107
##infocom.url##&lt;/a&gt;&lt;br /&gt;
4108
##ENDFOREACHinfocoms##&lt;/p&gt;');
4109
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('12','11','','##license.action##  ##license.entity##','##lang.license.entity## : ##license.entity##
4110

  
4111
##FOREACHlicenses## 
4112

  
4113
##lang.license.item## : ##license.item##
4114

  
4115
##lang.license.serial## : ##license.serial##
4116

  
4117
##lang.license.expirationdate## : ##license.expirationdate##
4118

  
4119
##license.url## 
4120
 ##ENDFOREACHlicenses##','&lt;p&gt;
4121
##lang.license.entity## : ##license.entity##&lt;br /&gt;
4122
##FOREACHlicenses##
4123
&lt;br /&gt;##lang.license.item## : ##license.item##&lt;br /&gt;
4124
##lang.license.serial## : ##license.serial##&lt;br /&gt;
4125
##lang.license.expirationdate## : ##license.expirationdate##
4126
&lt;br /&gt; &lt;a href=\"##license.url##\"&gt; ##license.url##
4127
&lt;/a&gt;&lt;br /&gt; ##ENDFOREACHlicenses##&lt;/p&gt;');
4128
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('13','13','','##user.action##','##user.realname## ##user.firstname##
4129

  
4130
##lang.passwordforget.information##
4131

  
4132
##lang.passwordforget.link## ##user.passwordforgeturl##','&lt;p&gt;&lt;strong&gt;##user.realname## ##user.firstname##&lt;/strong&gt;&lt;/p&gt;
4133
&lt;p&gt;##lang.passwordforget.information##&lt;/p&gt;
4134
&lt;p&gt;##lang.passwordforget.link## &lt;a title=\"##user.passwordforgeturl##\" href=\"##user.passwordforgeturl##\"&gt;##user.passwordforgeturl##&lt;/a&gt;&lt;/p&gt;');
4135
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('14','14','','##ticket.action## ##ticket.title##','##lang.ticket.title## : ##ticket.title##
4136

  
4137
##lang.ticket.closedate## : ##ticket.closedate##
4138

  
4139
##lang.satisfaction.text## ##ticket.urlsatisfaction##','&lt;p&gt;##lang.ticket.title## : ##ticket.title##&lt;/p&gt;
4140
&lt;p&gt;##lang.ticket.closedate## : ##ticket.closedate##&lt;/p&gt;
4141
&lt;p&gt;##lang.satisfaction.text## &lt;a href=\"##ticket.urlsatisfaction##\"&gt;##ticket.urlsatisfaction##&lt;/a&gt;&lt;/p&gt;');
4142
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('16','16','','##crontask.action##','##lang.crontask.warning## 
4143

  
4144
##FOREACHcrontasks## 
4145
 ##crontask.name## : ##crontask.description##
4146
 
4147
##ENDFOREACHcrontasks##','&lt;p&gt;##lang.crontask.warning##&lt;/p&gt;
4148
&lt;p&gt;##FOREACHcrontasks## &lt;br /&gt;&lt;a href=\"##crontask.url##\"&gt;##crontask.name##&lt;/a&gt; : ##crontask.description##&lt;br /&gt; &lt;br /&gt;##ENDFOREACHcrontasks##&lt;/p&gt;');
4149
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('17','17','','##problem.action## ##problem.title##','##IFproblem.storestatus=5##
4150
 ##lang.problem.url## : ##problem.urlapprove##
4151
 ##lang.problem.solvedate## : ##problem.solvedate##
4152
 ##lang.problem.solution.type## : ##problem.solution.type##
4153
 ##lang.problem.solution.description## : ##problem.solution.description## ##ENDIFproblem.storestatus##
4154
 ##ELSEproblem.storestatus## ##lang.problem.url## : ##problem.url## ##ENDELSEproblem.storestatus##
4155

  
4156
 ##lang.problem.description##
4157

  
4158
 ##lang.problem.title##  :##problem.title##
4159
 ##lang.problem.authors##  :##IFproblem.authors## ##problem.authors## ##ENDIFproblem.authors## ##ELSEproblem.authors##--##ENDELSEproblem.authors##
4160
 ##lang.problem.creationdate##  :##problem.creationdate##
4161
 ##IFproblem.assigntousers## ##lang.problem.assigntousers##  : ##problem.assigntousers## ##ENDIFproblem.assigntousers##
4162
 ##lang.problem.status##  : ##problem.status##
4163
 ##IFproblem.assigntogroups## ##lang.problem.assigntogroups##  : ##problem.assigntogroups## ##ENDIFproblem.assigntogroups##
4164
 ##lang.problem.urgency##  : ##problem.urgency##
4165
 ##lang.problem.impact##  : ##problem.impact##
4166
 ##lang.problem.priority## : ##problem.priority##
4167
##IFproblem.category## ##lang.problem.category##  :##problem.category## ##ENDIFproblem.category## ##ELSEproblem.category## ##lang.problem.nocategoryassigned## ##ENDELSEproblem.category##
4168
 ##lang.problem.content##  : ##problem.content##
4169

  
4170
##IFproblem.storestatus=6##
4171
 ##lang.problem.solvedate## : ##problem.solvedate##
4172
 ##lang.problem.solution.type## : ##problem.solution.type##
4173
 ##lang.problem.solution.description## : ##problem.solution.description##
4174
##ENDIFproblem.storestatus##
4175
 ##lang.problem.numberoftickets## : ##problem.numberoftickets##
4176

  
4177
##FOREACHtickets##
4178
 [##ticket.date##] ##lang.problem.title## : ##ticket.title##
4179
 ##lang.problem.content## ##ticket.content##
4180

  
4181
##ENDFOREACHtickets##
4182
 ##lang.problem.numberoftasks## : ##problem.numberoftasks##
4183

  
4184
##FOREACHtasks##
4185
 [##task.date##]
4186
 ##lang.task.author## ##task.author##
4187
 ##lang.task.description## ##task.description##
4188
 ##lang.task.time## ##task.time##
4189
 ##lang.task.category## ##task.category##
4190

  
4191
##ENDFOREACHtasks##
4192
','&lt;p&gt;##IFproblem.storestatus=5##&lt;/p&gt;
4193
&lt;div&gt;##lang.problem.url## : &lt;a href=\"##problem.urlapprove##\"&gt;##problem.urlapprove##&lt;/a&gt;&lt;/div&gt;
4194
&lt;div&gt;&lt;span style=\"color: #888888;\"&gt;&lt;strong&gt;&lt;span style=\"text-decoration: underline;\"&gt;##lang.problem.solvedate##&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt; : ##problem.solvedate##&lt;br /&gt;&lt;span style=\"text-decoration: underline; color: #888888;\"&gt;&lt;strong&gt;##lang.problem.solution.type##&lt;/strong&gt;&lt;/span&gt; : ##problem.solution.type##&lt;br /&gt;&lt;span style=\"text-decoration: underline; color: #888888;\"&gt;&lt;strong&gt;##lang.problem.solution.description##&lt;/strong&gt;&lt;/span&gt; : ##problem.solution.description## ##ENDIFproblem.storestatus##&lt;/div&gt;
4195
&lt;div&gt;##ELSEproblem.storestatus## ##lang.problem.url## : &lt;a href=\"##problem.url##\"&gt;##problem.url##&lt;/a&gt; ##ENDELSEproblem.storestatus##&lt;/div&gt;
4196
&lt;p class=\"description b\"&gt;&lt;strong&gt;##lang.problem.description##&lt;/strong&gt;&lt;/p&gt;
4197
&lt;p&gt;&lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.problem.title##&lt;/span&gt;&#160;:##problem.title## &lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.problem.authors##&lt;/span&gt;&#160;:##IFproblem.authors## ##problem.authors## ##ENDIFproblem.authors##    ##ELSEproblem.authors##--##ENDELSEproblem.authors## &lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.problem.creationdate##&lt;/span&gt;&#160;:##problem.creationdate## &lt;br /&gt; ##IFproblem.assigntousers## &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.problem.assigntousers##&lt;/span&gt;&#160;: ##problem.assigntousers## ##ENDIFproblem.assigntousers##&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;##lang.problem.status## &lt;/span&gt;&#160;: ##problem.status##&lt;br /&gt; ##IFproblem.assigntogroups## &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.problem.assigntogroups##&lt;/span&gt;&#160;: ##problem.assigntogroups## ##ENDIFproblem.assigntogroups##&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.problem.urgency##&lt;/span&gt;&#160;: ##problem.urgency##&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.problem.impact##&lt;/span&gt;&#160;: ##problem.impact##&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.problem.priority##&lt;/span&gt; : ##problem.priority## &lt;br /&gt;##IFproblem.category##&lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;##lang.problem.category## &lt;/span&gt;&#160;:##problem.category##  ##ENDIFproblem.category## ##ELSEproblem.category##  ##lang.problem.nocategoryassigned## ##ENDELSEproblem.category##    &lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.problem.content##&lt;/span&gt;&#160;: ##problem.content##&lt;/p&gt;
4198
&lt;p&gt;##IFproblem.storestatus=6##&lt;br /&gt;&lt;span style=\"text-decoration: underline;\"&gt;&lt;strong&gt;&lt;span style=\"color: #888888;\"&gt;##lang.problem.solvedate##&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt; : ##problem.solvedate##&lt;br /&gt;&lt;span style=\"color: #888888;\"&gt;&lt;strong&gt;&lt;span style=\"text-decoration: underline;\"&gt;##lang.problem.solution.type##&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt; : ##problem.solution.type##&lt;br /&gt;&lt;span style=\"text-decoration: underline; color: #888888;\"&gt;&lt;strong&gt;##lang.problem.solution.description##&lt;/strong&gt;&lt;/span&gt; : ##problem.solution.description##&lt;br /&gt;##ENDIFproblem.storestatus##&lt;/p&gt;
4199
&lt;div class=\"description b\"&gt;##lang.problem.numberoftickets##&#160;: ##problem.numberoftickets##&lt;/div&gt;
4200
&lt;p&gt;##FOREACHtickets##&lt;/p&gt;
4201
&lt;div&gt;&lt;strong&gt; [##ticket.date##] &lt;em&gt;##lang.problem.title## : &lt;a href=\"##ticket.url##\"&gt;##ticket.title## &lt;/a&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; &lt;/span&gt;&lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt;##lang.problem.content## &lt;/span&gt; ##ticket.content##
4202
&lt;p&gt;##ENDFOREACHtickets##&lt;/p&gt;
4203
&lt;div class=\"description b\"&gt;##lang.problem.numberoftasks##&#160;: ##problem.numberoftasks##&lt;/div&gt;
4204
&lt;p&gt;##FOREACHtasks##&lt;/p&gt;
4205
&lt;div class=\"description b\"&gt;&lt;strong&gt;[##task.date##] &lt;/strong&gt;&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.task.author##&lt;/span&gt; ##task.author##&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.task.description##&lt;/span&gt; ##task.description##&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.task.time##&lt;/span&gt; ##task.time##&lt;br /&gt; &lt;span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"&gt; ##lang.task.category##&lt;/span&gt; ##task.category##&lt;/div&gt;
4206
&lt;p&gt;##ENDFOREACHtasks##&lt;/p&gt;
4207
&lt;/div&gt;');
4208
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('18','18','','##recall.action##: ##recall.item.name##','##recall.action##: ##recall.item.name##
4209

  
4210
##recall.item.content##
4211

  
4212
##lang.recall.planning.begin##: ##recall.planning.begin##
4213
##lang.recall.planning.end##: ##recall.planning.end##
4214
##lang.recall.planning.state##: ##recall.planning.state##
4215
##lang.recall.item.private##: ##recall.item.private##','&lt;p&gt;##recall.action##: &lt;a href=\"##recall.item.url##\"&gt;##recall.item.name##&lt;/a&gt;&lt;/p&gt;
4216
&lt;p&gt;##recall.item.content##&lt;/p&gt;
4217
&lt;p&gt;##lang.recall.planning.begin##: ##recall.planning.begin##&lt;br /&gt;##lang.recall.planning.end##: ##recall.planning.end##&lt;br /&gt;##lang.recall.planning.state##: ##recall.planning.state##&lt;br /&gt;##lang.recall.item.private##: ##recall.item.private##&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
4218
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;');
4219
INSERT INTO `glpi_notificationtemplatetranslations` VALUES ('19','19','','##change.action## ##change.title##','##IFchange.storestatus=5##
4220
 ##lang.change.url## : ##change.urlapprove##
4221
 ##lang.change.solvedate## : ##change.solvedate##
4222
 ##lang.change.solution.type## : ##change.solution.type##
4223
 ##lang.change.solution.description## : ##change.solution.description## ##ENDIFchange.storestatus##
4224
 ##ELSEchange.storestatus## ##lang.change.url## : ##change.url## ##ENDELSEchange.storestatus##
4225

  
4226
 ##lang.change.description##
4227

  
4228
 ##lang.change.title##  :##change.title##
4229
 ##lang.change.authors##  :##IFchange.authors## ##change.authors## ##ENDIFchange.authors## ##ELSEchange.authors##--##ENDELSEchange.authors##
4230
 ##lang.change.creationdate##  :##change.creationdate##
4231
 ##IFchange.assigntousers## ##lang.change.assigntousers##  : ##change.assigntousers## ##ENDIFchange.assigntousers##
4232
 ##lang.change.status##  : ##change.status##
4233
 ##IFchange.assigntogroups## ##lang.change.assigntogroups##  : ##change.assigntogroups## ##ENDIFchange.assigntogroups##
4234
 ##lang.change.urgency##  : ##change.urgency##
4235
 ##lang.change.impact##  : ##change.impact##
4236
 ##lang.change.priority## : ##change.priority##
4237
##IFchange.category## ##lang.change.category##  :##change.category## ##ENDIFchange.category## ##ELSEchange.category## ##lang.change.nocategoryassigned## ##ENDELSEchange.category##
4238
 ##lang.change.content##  : ##change.content##
4239

  
4240
##IFchange.storestatus=6##
4241
 ##lang.change.solvedate## : ##change.solvedate##
4242
 ##lang.change.solution.type## : ##change.solution.type##
4243
 ##lang.change.solution.description## : ##change.solution.description##
4244
##ENDIFchange.storestatus##
4245
 ##lang.change.numberofproblems## : ##change.numberofproblems##
4246

  
4247
##FOREACHproblems##
4248
 [##problem.date##] ##lang.change.title## : ##problem.title##
4249
 ##lang.change.content## ##problem.content##
4250

  
4251
##ENDFOREACHproblems##
... This diff was truncated because it exceeds the maximum size that can be displayed.