diff --git a/.travis.yml b/.travis.yml index dc27be3..1a58414 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,23 @@ -language: python -sudo: false +sudo: required +services: + - docker +before_script: + - docker-compose up --build -d + - source $TRAVIS_BUILD_DIR/tests/env +after_script: + - docker-compose down + notifications: email: false -env: - - TOXENV=py27 - - TOXENV=py34 - - TOXENV=py35 - - TOXENV=py36 - - TOXENV=flake8 install: - - pip install tox -script: tox -cahce: pip + - pip install tox-travis +cache: pip + +language: python +python: + - "2.7" + - "3.4" + - "3.5" + - "3.6" +script: + - tox diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..974ac04 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,22 @@ +version: '2' + +services: + glpi: + build: ./docker/glpi + depends_on: + - mysql + ports: + - "80:80" + mysql: + build: ./docker/mysql + volumes: + - ./docker/mysql/run:/docker-entrypoint-initdb.d + expose: + - "3306" + +networks: + default: + driver: bridge + ipam: + config: + - subnet: 10.0.125.0/24 diff --git a/docker/glpi/Dockerfile b/docker/glpi/Dockerfile new file mode 100644 index 0000000..ad2d56e --- /dev/null +++ b/docker/glpi/Dockerfile @@ -0,0 +1,9 @@ +FROM php:7.0-apache + +RUN apt-get update && \ + apt-get -y install wget && \ + apt-get -y install libpng-dev +RUN docker-php-ext-install mysqli gd + +COPY glpi.sh /glpi.sh +RUN /glpi.sh diff --git a/docker/glpi/glpi.sh b/docker/glpi/glpi.sh new file mode 100755 index 0000000..85a749c --- /dev/null +++ b/docker/glpi/glpi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +# Install and configure GLPI +[[ ! "$GLPI_VERSION" ]] \ + && GLPI_VERSION=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/latest | grep tag_name | cut -d '"' -f 4) + +SRC_GLPI="https://github.com/glpi-project/glpi/releases/download/${GLPI_VERSION}/glpi-${GLPI_VERSION}.tgz" +TAR_GLPI=glpi-${GLPI_VERSION}.tgz +FOLDER_GLPI=glpi/ +FOLDER_WEB=/var/www/html/ + +if [ -f "${FOLDER_WEB}${FOLDER_GLPI}/index.php" ]; then + echo "GLPI already installed" +else + wget -P ${FOLDER_WEB} ${SRC_GLPI} + tar -xzf ${FOLDER_WEB}${TAR_GLPI} -C ${FOLDER_WEB} + rm -Rf ${FOLDER_WEB}${TAR_GLPI} + chown -R www-data:www-data ${FOLDER_WEB}${FOLDER_GLPI} +fi + +# pipe config into the installation +cat > /var/www/html/glpi/config/config_db.php << EOF +\n
##IFticket.storestatus=5##
\n
##lang.ticket.url## : ##ticket.urlapprove##  
\n
##lang.ticket.autoclosewarning##
\n
##lang.ticket.solvedate## : ##ticket.solvedate##
##lang.ticket.solution.type## : ##ticket.solution.type##
##lang.ticket.solution.description## : ##ticket.solution.description## ##ENDIFticket.storestatus##
\n
##ELSEticket.storestatus## ##lang.ticket.url## : ##ticket.url## ##ENDELSEticket.storestatus##
\n

##lang.ticket.description##

\n

##lang.ticket.title## :##ticket.title##
##lang.ticket.authors## :##IFticket.authors## ##ticket.authors## ##ENDIFticket.authors## ##ELSEticket.authors##--##ENDELSEticket.authors##
##lang.ticket.creationdate## :##ticket.creationdate##
##lang.ticket.closedate## :##ticket.closedate##
##lang.ticket.requesttype## :##ticket.requesttype##
\n
##lang.ticket.item.name## :\n

##FOREACHitems##

\n
##IFticket.itemtype## ##ticket.itemtype## - ##ticket.item.name## ##IFticket.item.model## ##lang.ticket.item.model## : ##ticket.item.model## ##ENDIFticket.item.model## ##IFticket.item.serial## ##lang.ticket.item.serial## : ##ticket.item.serial## ##ENDIFticket.item.serial## ##IFticket.item.otherserial## ##lang.ticket.item.otherserial## : ##ticket.item.otherserial## ##ENDIFticket.item.otherserial## ##ENDIFticket.itemtype##

\n

##ENDFOREACHitems##

\n##IFticket.assigntousers## ##lang.ticket.assigntousers## : ##ticket.assigntousers## ##ENDIFticket.assigntousers##
##lang.ticket.status##  : ##ticket.status##
##IFticket.assigntogroups## ##lang.ticket.assigntogroups## : ##ticket.assigntogroups## ##ENDIFticket.assigntogroups##
##lang.ticket.urgency## : ##ticket.urgency##
##lang.ticket.impact## : ##ticket.impact##
##lang.ticket.priority## : ##ticket.priority##
##IFticket.user.email## ##lang.ticket.user.email## : ##ticket.user.email ##ENDIFticket.user.email##
##IFticket.category####lang.ticket.category##  :##ticket.category## ##ENDIFticket.category## ##ELSEticket.category## ##lang.ticket.nocategoryassigned## ##ENDELSEticket.category##
##lang.ticket.content## : ##ticket.content##

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

\n
##lang.ticket.numberoffollowups## : ##ticket.numberoffollowups##
\n

##FOREACHfollowups##

\n

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

##ENDFOREACHfollowups##

\n
##lang.ticket.numberoftasks## : ##ticket.numberoftasks##
\n

##FOREACHtasks##

\n

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

##ENDFOREACHtasks##

'),(5,12,'','##contract.action## ##contract.entity##','##lang.contract.entity## : ##contract.entity##\n\n##FOREACHcontracts##\n##lang.contract.name## : ##contract.name##\n##lang.contract.number## : ##contract.number##\n##lang.contract.time## : ##contract.time##\n##IFcontract.type####lang.contract.type## : ##contract.type####ENDIFcontract.type##\n##contract.url##\n##ENDFOREACHcontracts##','<p>##lang.contract.entity## : ##contract.entity##<br />\n<br />##FOREACHcontracts##<br />##lang.contract.name## :\n##contract.name##<br />\n##lang.contract.number## : ##contract.number##<br />\n##lang.contract.time## : ##contract.time##<br />\n##IFcontract.type####lang.contract.type## : ##contract.type##\n##ENDIFcontract.type##<br />\n<a href=\"##contract.url##\">\n##contract.url##</a><br />\n##ENDFOREACHcontracts##</p>'),(6,5,'','##ticket.action## ##ticket.title##','##lang.ticket.url## : ##ticket.url##\n\n##lang.ticket.description##\n\n\n##lang.ticket.title## :##ticket.title##\n\n##lang.ticket.authors## :##IFticket.authors##\n##ticket.authors## ##ENDIFticket.authors##\n##ELSEticket.authors##--##ENDELSEticket.authors##\n\n##IFticket.category## ##lang.ticket.category## :##ticket.category##\n##ENDIFticket.category## ##ELSEticket.category##\n##lang.ticket.nocategoryassigned## ##ENDELSEticket.category##\n\n##lang.ticket.content## : ##ticket.content##\n##IFticket.itemtype##\n##lang.ticket.item.name## : ##ticket.itemtype## - ##ticket.item.name##\n##ENDIFticket.itemtype##','<div>##lang.ticket.url## : <a href=\"##ticket.url##\">\n##ticket.url##</a></div>\n<div class=\"description b\">\n##lang.ticket.description##</div>\n<p><span\nstyle=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">\n##lang.ticket.title##</span> :##ticket.title##\n<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">\n##lang.ticket.authors##</span>\n##IFticket.authors## ##ticket.authors##\n##ENDIFticket.authors##\n##ELSEticket.authors##--##ENDELSEticket.authors##\n<span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> \n;</span><br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> </span>\n##IFticket.category##<span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">\n##lang.ticket.category## </span> :##ticket.category##\n##ENDIFticket.category## ##ELSEticket.category##\n##lang.ticket.nocategoryassigned## ##ENDELSEticket.category##\n<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">\n##lang.ticket.content##</span> :\n##ticket.content##<br />##IFticket.itemtype##\n<span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">\n##lang.ticket.item.name##</span> :\n##ticket.itemtype## - ##ticket.item.name##\n##ENDIFticket.itemtype##</p>'),(15,15,'','##lang.unicity.action##','##lang.unicity.entity## : ##unicity.entity##\n\n##lang.unicity.itemtype## : ##unicity.itemtype##\n\n##lang.unicity.message## : ##unicity.message##\n\n##lang.unicity.action_user## : ##unicity.action_user##\n\n##lang.unicity.action_type## : ##unicity.action_type##\n\n##lang.unicity.date## : ##unicity.date##','<p>##lang.unicity.entity## : ##unicity.entity##</p>\n<p>##lang.unicity.itemtype## : ##unicity.itemtype##</p>\n<p>##lang.unicity.message## : ##unicity.message##</p>\n<p>##lang.unicity.action_user## : ##unicity.action_user##</p>\n<p>##lang.unicity.action_type## : ##unicity.action_type##</p>\n<p>##lang.unicity.date## : ##unicity.date##</p>'),(7,7,'','##ticket.action## ##ticket.title##','##FOREACHvalidations##\n\n##IFvalidation.storestatus=2##\n##validation.submission.title##\n##lang.validation.commentsubmission## : ##validation.commentsubmission##\n##ENDIFvalidation.storestatus##\n##ELSEvalidation.storestatus## ##validation.answer.title## ##ENDELSEvalidation.storestatus##\n\n##lang.ticket.url## : ##ticket.urlvalidation##\n\n##IFvalidation.status## ##lang.validation.status## : ##validation.status## ##ENDIFvalidation.status##\n##IFvalidation.commentvalidation##\n##lang.validation.commentvalidation## : ##validation.commentvalidation##\n##ENDIFvalidation.commentvalidation##\n##ENDFOREACHvalidations##','<div>##FOREACHvalidations##</div>\n<p>##IFvalidation.storestatus=2##</p>\n<div>##validation.submission.title##</div>\n<div>##lang.validation.commentsubmission## : ##validation.commentsubmission##</div>\n<div>##ENDIFvalidation.storestatus##</div>\n<div>##ELSEvalidation.storestatus## ##validation.answer.title## ##ENDELSEvalidation.storestatus##</div>\n<div></div>\n<div>\n<div>##lang.ticket.url## : <a href=\"##ticket.urlvalidation##\"> ##ticket.urlvalidation## </a></div>\n</div>\n<p>##IFvalidation.status## ##lang.validation.status## : ##validation.status## ##ENDIFvalidation.status##\n<br /> ##IFvalidation.commentvalidation##<br /> ##lang.validation.commentvalidation## :\n  ##validation.commentvalidation##<br /> ##ENDIFvalidation.commentvalidation##\n<br />##ENDFOREACHvalidations##</p>'),(8,6,'','##ticket.action## ##ticket.entity##','##lang.ticket.entity## : ##ticket.entity##\n\n##FOREACHtickets##\n\n##lang.ticket.title## : ##ticket.title##\n ##lang.ticket.status## : ##ticket.status##\n\n ##ticket.url##\n ##ENDFOREACHtickets##','<table class=\"tab_cadre\" border=\"1\" cellspacing=\"2\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.authors##</span></td>\n<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.title##</span></td>\n<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.priority##</span></td>\n<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.status##</span></td>\n<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.attribution##</span></td>\n<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.creationdate##</span></td>\n<td style=\"text-align: left;\" width=\"auto\" bgcolor=\"#cccccc\"><span style=\"font-size: 11px; text-align: left;\">##lang.ticket.content##</span></td>\n</tr>\n##FOREACHtickets##\n<tr>\n<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\">##ticket.authors##</span></td>\n<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\"><a href=\"##ticket.url##\">##ticket.title##</a></span></td>\n<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\">##ticket.priority##</span></td>\n<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\">##ticket.status##</span></td>\n<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\">##IFticket.assigntousers####ticket.assigntousers##<br />##ENDIFticket.assigntousers####IFticket.assigntogroups##<br />##ticket.assigntogroups## ##ENDIFticket.assigntogroups####IFticket.assigntosupplier##<br />##ticket.assigntosupplier## ##ENDIFticket.assigntosupplier##</span></td>\n<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\">##ticket.creationdate##</span></td>\n<td width=\"auto\"><span style=\"font-size: 11px; text-align: left;\">##ticket.content##</span></td>\n</tr>\n##ENDFOREACHtickets##\n</tbody>\n</table>'),(9,9,'','##consumable.action## ##consumable.entity##','##lang.consumable.entity## : ##consumable.entity##\n\n\n##FOREACHconsumables##\n##lang.consumable.item## : ##consumable.item##\n\n\n##lang.consumable.reference## : ##consumable.reference##\n\n##lang.consumable.remaining## : ##consumable.remaining##\n\n##consumable.url##\n\n##ENDFOREACHconsumables##','<p>\n##lang.consumable.entity## : ##consumable.entity##\n<br /> <br />##FOREACHconsumables##\n<br />##lang.consumable.item## : ##consumable.item##<br />\n<br />##lang.consumable.reference## : ##consumable.reference##<br />\n##lang.consumable.remaining## : ##consumable.remaining##<br />\n<a href=\"##consumable.url##\"> ##consumable.url##</a><br />\n ##ENDFOREACHconsumables##</p>'),(10,8,'','##cartridge.action## ##cartridge.entity##','##lang.cartridge.entity## : ##cartridge.entity##\n\n\n##FOREACHcartridges##\n##lang.cartridge.item## : ##cartridge.item##\n\n\n##lang.cartridge.reference## : ##cartridge.reference##\n\n##lang.cartridge.remaining## : ##cartridge.remaining##\n\n##cartridge.url##\n ##ENDFOREACHcartridges##','<p>##lang.cartridge.entity## : ##cartridge.entity##\n<br /> <br />##FOREACHcartridges##\n<br />##lang.cartridge.item## :\n##cartridge.item##<br /> <br />\n##lang.cartridge.reference## :\n##cartridge.reference##<br />\n##lang.cartridge.remaining## :\n##cartridge.remaining##<br />\n<a href=\"##cartridge.url##\">\n##cartridge.url##</a><br />\n##ENDFOREACHcartridges##</p>'),(11,10,'','##infocom.action## ##infocom.entity##','##lang.infocom.entity## : ##infocom.entity##\n\n\n##FOREACHinfocoms##\n\n##lang.infocom.itemtype## : ##infocom.itemtype##\n\n##lang.infocom.item## : ##infocom.item##\n\n\n##lang.infocom.expirationdate## : ##infocom.expirationdate##\n\n##infocom.url##\n ##ENDFOREACHinfocoms##','<p>##lang.infocom.entity## : ##infocom.entity##\n<br /> <br />##FOREACHinfocoms##\n<br />##lang.infocom.itemtype## : ##infocom.itemtype##<br />\n##lang.infocom.item## : ##infocom.item##<br /> <br />\n##lang.infocom.expirationdate## : ##infocom.expirationdate##\n<br /> <a href=\"##infocom.url##\">\n##infocom.url##</a><br />\n##ENDFOREACHinfocoms##</p>'),(12,11,'','##license.action## ##license.entity##','##lang.license.entity## : ##license.entity##\n\n##FOREACHlicenses##\n\n##lang.license.item## : ##license.item##\n\n##lang.license.serial## : ##license.serial##\n\n##lang.license.expirationdate## : ##license.expirationdate##\n\n##license.url##\n ##ENDFOREACHlicenses##','<p>\n##lang.license.entity## : ##license.entity##<br />\n##FOREACHlicenses##\n<br />##lang.license.item## : ##license.item##<br />\n##lang.license.serial## : ##license.serial##<br />\n##lang.license.expirationdate## : ##license.expirationdate##\n<br /> <a href=\"##license.url##\"> ##license.url##\n</a><br /> ##ENDFOREACHlicenses##</p>'),(13,13,'','##user.action##','##user.realname## ##user.firstname##\n\n##lang.passwordforget.information##\n\n##lang.passwordforget.link## ##user.passwordforgeturl##','<p><strong>##user.realname## ##user.firstname##</strong></p>\n<p>##lang.passwordforget.information##</p>\n<p>##lang.passwordforget.link## <a title=\"##user.passwordforgeturl##\" href=\"##user.passwordforgeturl##\">##user.passwordforgeturl##</a></p>'),(14,14,'','##ticket.action## ##ticket.title##','##lang.ticket.title## : ##ticket.title##\n\n##lang.ticket.closedate## : ##ticket.closedate##\n\n##lang.satisfaction.text## ##ticket.urlsatisfaction##','<p>##lang.ticket.title## : ##ticket.title##</p>\n<p>##lang.ticket.closedate## : ##ticket.closedate##</p>\n<p>##lang.satisfaction.text## <a href=\"##ticket.urlsatisfaction##\">##ticket.urlsatisfaction##</a></p>'),(16,16,'','##crontask.action##','##lang.crontask.warning##\n\n##FOREACHcrontasks##\n ##crontask.name## : ##crontask.description##\n\n##ENDFOREACHcrontasks##','<p>##lang.crontask.warning##</p>\n<p>##FOREACHcrontasks## <br /><a href=\"##crontask.url##\">##crontask.name##</a> : ##crontask.description##<br /> <br />##ENDFOREACHcrontasks##</p>'),(17,17,'','##problem.action## ##problem.title##','##IFproblem.storestatus=5##\n ##lang.problem.url## : ##problem.urlapprove##\n ##lang.problem.solvedate## : ##problem.solvedate##\n ##lang.problem.solution.type## : ##problem.solution.type##\n ##lang.problem.solution.description## : ##problem.solution.description## ##ENDIFproblem.storestatus##\n ##ELSEproblem.storestatus## ##lang.problem.url## : ##problem.url## ##ENDELSEproblem.storestatus##\n\n ##lang.problem.description##\n\n ##lang.problem.title## :##problem.title##\n ##lang.problem.authors## :##IFproblem.authors## ##problem.authors## ##ENDIFproblem.authors## ##ELSEproblem.authors##--##ENDELSEproblem.authors##\n ##lang.problem.creationdate## :##problem.creationdate##\n ##IFproblem.assigntousers## ##lang.problem.assigntousers## : ##problem.assigntousers## ##ENDIFproblem.assigntousers##\n ##lang.problem.status## : ##problem.status##\n ##IFproblem.assigntogroups## ##lang.problem.assigntogroups## : ##problem.assigntogroups## ##ENDIFproblem.assigntogroups##\n ##lang.problem.urgency## : ##problem.urgency##\n ##lang.problem.impact## : ##problem.impact##\n ##lang.problem.priority## : ##problem.priority##\n##IFproblem.category## ##lang.problem.category## :##problem.category## ##ENDIFproblem.category## ##ELSEproblem.category## ##lang.problem.nocategoryassigned## ##ENDELSEproblem.category##\n ##lang.problem.content## : ##problem.content##\n\n##IFproblem.storestatus=6##\n ##lang.problem.solvedate## : ##problem.solvedate##\n ##lang.problem.solution.type## : ##problem.solution.type##\n ##lang.problem.solution.description## : ##problem.solution.description##\n##ENDIFproblem.storestatus##\n ##lang.problem.numberoftickets## : ##problem.numberoftickets##\n\n##FOREACHtickets##\n [##ticket.date##] ##lang.problem.title## : ##ticket.title##\n ##lang.problem.content## ##ticket.content##\n\n##ENDFOREACHtickets##\n ##lang.problem.numberoftasks## : ##problem.numberoftasks##\n\n##FOREACHtasks##\n [##task.date##]\n ##lang.task.author## ##task.author##\n ##lang.task.description## ##task.description##\n ##lang.task.time## ##task.time##\n ##lang.task.category## ##task.category##\n\n##ENDFOREACHtasks##\n','<p>##IFproblem.storestatus=5##</p>\n<div>##lang.problem.url## : <a href=\"##problem.urlapprove##\">##problem.urlapprove##</a></div>\n<div><span style=\"color: #888888;\"><strong><span style=\"text-decoration: underline;\">##lang.problem.solvedate##</span></strong></span> : ##problem.solvedate##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.problem.solution.type##</strong></span> : ##problem.solution.type##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.problem.solution.description##</strong></span> : ##problem.solution.description## ##ENDIFproblem.storestatus##</div>\n<div>##ELSEproblem.storestatus## ##lang.problem.url## : <a href=\"##problem.url##\">##problem.url##</a> ##ENDELSEproblem.storestatus##</div>\n<p class=\"description b\"><strong>##lang.problem.description##</strong></p>\n<p><span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.title##</span> :##problem.title## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.authors##</span> :##IFproblem.authors## ##problem.authors## ##ENDIFproblem.authors## ##ELSEproblem.authors##--##ENDELSEproblem.authors## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.creationdate##</span> :##problem.creationdate## <br /> ##IFproblem.assigntousers## <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.assigntousers##</span> : ##problem.assigntousers## ##ENDIFproblem.assigntousers##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.problem.status## </span> : ##problem.status##<br /> ##IFproblem.assigntogroups## <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.assigntogroups##</span> : ##problem.assigntogroups## ##ENDIFproblem.assigntogroups##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.urgency##</span> : ##problem.urgency##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.impact##</span> : ##problem.impact##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.priority##</span> : ##problem.priority## <br />##IFproblem.category##<span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.problem.category## </span> :##problem.category## ##ENDIFproblem.category## ##ELSEproblem.category## ##lang.problem.nocategoryassigned## ##ENDELSEproblem.category## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.problem.content##</span> : ##problem.content##</p>\n<p>##IFproblem.storestatus=6##<br /><span style=\"text-decoration: underline;\"><strong><span style=\"color: #888888;\">##lang.problem.solvedate##</span></strong></span> : ##problem.solvedate##<br /><span style=\"color: #888888;\"><strong><span style=\"text-decoration: underline;\">##lang.problem.solution.type##</span></strong></span> : ##problem.solution.type##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.problem.solution.description##</strong></span> : ##problem.solution.description##<br />##ENDIFproblem.storestatus##</p>\n<div class=\"description b\">##lang.problem.numberoftickets## : ##problem.numberoftickets##</div>\n<p>##FOREACHtickets##</p>\n<div><strong> [##ticket.date##] <em>##lang.problem.title## : <a href=\"##ticket.url##\">##ticket.title## </a></em></strong><br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> </span><span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.problem.content## </span> ##ticket.content##\n<p>##ENDFOREACHtickets##</p>\n<div class=\"description b\">##lang.problem.numberoftasks## : ##problem.numberoftasks##</div>\n<p>##FOREACHtasks##</p>\n<div class=\"description b\"><strong>[##task.date##] </strong><br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.author##</span> ##task.author##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.description##</span> ##task.description##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.time##</span> ##task.time##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.category##</span> ##task.category##</div>\n<p>##ENDFOREACHtasks##</p>\n</div>'),(18,18,'','##recall.action##: ##recall.item.name##','##recall.action##: ##recall.item.name##\n\n##recall.item.content##\n\n##lang.recall.planning.begin##: ##recall.planning.begin##\n##lang.recall.planning.end##: ##recall.planning.end##\n##lang.recall.planning.state##: ##recall.planning.state##\n##lang.recall.item.private##: ##recall.item.private##','<p>##recall.action##: <a href=\"##recall.item.url##\">##recall.item.name##</a></p>\n<p>##recall.item.content##</p>\n<p>##lang.recall.planning.begin##: ##recall.planning.begin##<br />##lang.recall.planning.end##: ##recall.planning.end##<br />##lang.recall.planning.state##: ##recall.planning.state##<br />##lang.recall.item.private##: ##recall.item.private##<br /><br /></p>\n<p><br /><br /></p>'),(19,19,'','##change.action## ##change.title##','##IFchange.storestatus=5##\n ##lang.change.url## : ##change.urlapprove##\n ##lang.change.solvedate## : ##change.solvedate##\n ##lang.change.solution.type## : ##change.solution.type##\n ##lang.change.solution.description## : ##change.solution.description## ##ENDIFchange.storestatus##\n ##ELSEchange.storestatus## ##lang.change.url## : ##change.url## ##ENDELSEchange.storestatus##\n\n ##lang.change.description##\n\n ##lang.change.title## :##change.title##\n ##lang.change.authors## :##IFchange.authors## ##change.authors## ##ENDIFchange.authors## ##ELSEchange.authors##--##ENDELSEchange.authors##\n ##lang.change.creationdate## :##change.creationdate##\n ##IFchange.assigntousers## ##lang.change.assigntousers## : ##change.assigntousers## ##ENDIFchange.assigntousers##\n ##lang.change.status## : ##change.status##\n ##IFchange.assigntogroups## ##lang.change.assigntogroups## : ##change.assigntogroups## ##ENDIFchange.assigntogroups##\n ##lang.change.urgency## : ##change.urgency##\n ##lang.change.impact## : ##change.impact##\n ##lang.change.priority## : ##change.priority##\n##IFchange.category## ##lang.change.category## :##change.category## ##ENDIFchange.category## ##ELSEchange.category## ##lang.change.nocategoryassigned## ##ENDELSEchange.category##\n ##lang.change.content## : ##change.content##\n\n##IFchange.storestatus=6##\n ##lang.change.solvedate## : ##change.solvedate##\n ##lang.change.solution.type## : ##change.solution.type##\n ##lang.change.solution.description## : ##change.solution.description##\n##ENDIFchange.storestatus##\n ##lang.change.numberofproblems## : ##change.numberofproblems##\n\n##FOREACHproblems##\n [##problem.date##] ##lang.change.title## : ##problem.title##\n ##lang.change.content## ##problem.content##\n\n##ENDFOREACHproblems##\n ##lang.change.numberoftasks## : ##change.numberoftasks##\n\n##FOREACHtasks##\n [##task.date##]\n ##lang.task.author## ##task.author##\n ##lang.task.description## ##task.description##\n ##lang.task.time## ##task.time##\n ##lang.task.category## ##task.category##\n\n##ENDFOREACHtasks##\n','<p>##IFchange.storestatus=5##</p>\n<div>##lang.change.url## : <a href=\"##change.urlapprove##\">##change.urlapprove##</a></div>\n<div><span style=\"color: #888888;\"><strong><span style=\"text-decoration: underline;\">##lang.change.solvedate##</span></strong></span> : ##change.solvedate##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.change.solution.type##</strong></span> : ##change.solution.type##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.change.solution.description##</strong></span> : ##change.solution.description## ##ENDIFchange.storestatus##</div>\n<div>##ELSEchange.storestatus## ##lang.change.url## : <a href=\"##change.url##\">##change.url##</a> ##ENDELSEchange.storestatus##</div>\n<p class=\"description b\"><strong>##lang.change.description##</strong></p>\n<p><span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.title##</span> :##change.title## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.authors##</span> :##IFchange.authors## ##change.authors## ##ENDIFchange.authors## ##ELSEchange.authors##--##ENDELSEchange.authors## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.creationdate##</span> :##change.creationdate## <br /> ##IFchange.assigntousers## <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.assigntousers##</span> : ##change.assigntousers## ##ENDIFchange.assigntousers##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.change.status## </span> : ##change.status##<br /> ##IFchange.assigntogroups## <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.assigntogroups##</span> : ##change.assigntogroups## ##ENDIFchange.assigntogroups##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.urgency##</span> : ##change.urgency##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.impact##</span> : ##change.impact##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.priority##</span> : ##change.priority## <br />##IFchange.category##<span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.change.category## </span> :##change.category## ##ENDIFchange.category## ##ELSEchange.category## ##lang.change.nocategoryassigned## ##ENDELSEchange.category## <br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.change.content##</span> : ##change.content##</p>\n<p>##IFchange.storestatus=6##<br /><span style=\"text-decoration: underline;\"><strong><span style=\"color: #888888;\">##lang.change.solvedate##</span></strong></span> : ##change.solvedate##<br /><span style=\"color: #888888;\"><strong><span style=\"text-decoration: underline;\">##lang.change.solution.type##</span></strong></span> : ##change.solution.type##<br /><span style=\"text-decoration: underline; color: #888888;\"><strong>##lang.change.solution.description##</strong></span> : ##change.solution.description##<br />##ENDIFchange.storestatus##</p>\n<div class=\"description b\">##lang.change.numberofproblems## : ##change.numberofproblems##</div>\n<p>##FOREACHproblems##</p>\n<div><strong> [##problem.date##] <em>##lang.change.title## : <a href=\"##problem.url##\">##problem.title## </a></em></strong><br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> </span><span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\">##lang.change.content## </span> ##problem.content##\n<p>##ENDFOREACHproblems##</p>\n<div class=\"description b\">##lang.change.numberoftasks## : ##change.numberoftasks##</div>\n<p>##FOREACHtasks##</p>\n<div class=\"description b\"><strong>[##task.date##] </strong><br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.author##</span> ##task.author##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.description##</span> ##task.description##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.time##</span> ##task.time##<br /> <span style=\"color: #8b8c8f; font-weight: bold; text-decoration: underline;\"> ##lang.task.category##</span> ##task.category##</div>\n<p>##ENDFOREACHtasks##</p>\n</div>'),(20,20,'','##mailcollector.action##','##FOREACHmailcollectors##\n##lang.mailcollector.name## : ##mailcollector.name##\n##lang.mailcollector.errors## : ##mailcollector.errors##\n##mailcollector.url##\n##ENDFOREACHmailcollectors##','<p>##FOREACHmailcollectors##<br />##lang.mailcollector.name## : ##mailcollector.name##<br /> ##lang.mailcollector.errors## : ##mailcollector.errors##<br /><a href=\"##mailcollector.url##\">##mailcollector.url##</a><br /> ##ENDFOREACHmailcollectors##</p>\n<p></p>'),(21,21,'','##project.action## ##project.name## ##project.code##','##lang.project.url## : ##project.url##\n\n##lang.project.description##\n\n##lang.project.name## : ##project.name##\n##lang.project.code## : ##project.code##\n##lang.project.manager## : ##project.manager##\n##lang.project.managergroup## : ##project.managergroup##\n##lang.project.creationdate## : ##project.creationdate##\n##lang.project.priority## : ##project.priority##\n##lang.project.state## : ##project.state##\n##lang.project.type## : ##project.type##\n##lang.project.description## : ##project.description##\n\n##lang.project.numberoftasks## : ##project.numberoftasks##\n\n\n\n##FOREACHtasks##\n\n[##task.creationdate##]\n##lang.task.name## : ##task.name##\n##lang.task.state## : ##task.state##\n##lang.task.type## : ##task.type##\n##lang.task.percent## : ##task.percent##\n##lang.task.description## : ##task.description##\n\n##ENDFOREACHtasks##','<p>##lang.project.url## : <a href=\"##project.url##\">##project.url##</a></p>\n<p><strong>##lang.project.description##</strong></p>\n<p>##lang.project.name## : ##project.name##<br />##lang.project.code## : ##project.code##<br /> ##lang.project.manager## : ##project.manager##<br />##lang.project.managergroup## : ##project.managergroup##<br /> ##lang.project.creationdate## : ##project.creationdate##<br />##lang.project.priority## : ##project.priority## <br />##lang.project.state## : ##project.state##<br />##lang.project.type## : ##project.type##<br />##lang.project.description## : ##project.description##</p>\n<p>##lang.project.numberoftasks## : ##project.numberoftasks##</p>\n<div>\n<p>##FOREACHtasks##</p>\n<div><strong>[##task.creationdate##] </strong><br /> ##lang.task.name## : ##task.name##<br />##lang.task.state## : ##task.state##<br />##lang.task.type## : ##task.type##<br />##lang.task.percent## : ##task.percent##<br />##lang.task.description## : ##task.description##</div>\n<p>##ENDFOREACHtasks##</p>\n</div>'),(22,22,'','##projecttask.action## ##projecttask.name##','##lang.projecttask.url## : ##projecttask.url##\n\n##lang.projecttask.description##\n\n##lang.projecttask.name## : ##projecttask.name##\n##lang.projecttask.project## : ##projecttask.project##\n##lang.projecttask.creationdate## : ##projecttask.creationdate##\n##lang.projecttask.state## : ##projecttask.state##\n##lang.projecttask.type## : ##projecttask.type##\n##lang.projecttask.description## : ##projecttask.description##\n\n##lang.projecttask.numberoftasks## : ##projecttask.numberoftasks##\n\n\n\n##FOREACHtasks##\n\n[##task.creationdate##]\n##lang.task.name## : ##task.name##\n##lang.task.state## : ##task.state##\n##lang.task.type## : ##task.type##\n##lang.task.percent## : ##task.percent##\n##lang.task.description## : ##task.description##\n\n##ENDFOREACHtasks##','<p>##lang.projecttask.url## : <a href=\"##projecttask.url##\">##projecttask.url##</a></p>\n<p><strong>##lang.projecttask.description##</strong></p>\n<p>##lang.projecttask.name## : ##projecttask.name##<br />##lang.projecttask.project## : <a href=\"##projecttask.projecturl##\">##projecttask.project##</a><br />##lang.projecttask.creationdate## : ##projecttask.creationdate##<br />##lang.projecttask.state## : ##projecttask.state##<br />##lang.projecttask.type## : ##projecttask.type##<br />##lang.projecttask.description## : ##projecttask.description##</p>\n<p>##lang.projecttask.numberoftasks## : ##projecttask.numberoftasks##</p>\n<div>\n<p>##FOREACHtasks##</p>\n<div><strong>[##task.creationdate##] </strong><br />##lang.task.name## : ##task.name##<br />##lang.task.state## : ##task.state##<br />##lang.task.type## : ##task.type##<br />##lang.task.percent## : ##task.percent##<br />##lang.task.description## : ##task.description##</div>\n<p>##ENDFOREACHtasks##</p>\n</div>'),(23,23,'','##objectlock.action##','##objectlock.type## ###objectlock.id## - ##objectlock.name##\n\n ##lang.objectlock.url##\n ##objectlock.url##\n\n ##lang.objectlock.date_mod##\n ##objectlock.date_mod##\n\n Hello ##objectlock.lockedby.firstname##,\n Could go to this item and unlock it for me?\n Thank you,\n Regards,\n ##objectlock.requester.firstname##','<table>\n <tbody>\n <tr><th colspan=\"2\"><a href=\"##objectlock.url##\">##objectlock.type## ###objectlock.id## - ##objectlock.name##</a></th></tr>\n <tr>\n <td>##lang.objectlock.url##</td>\n <td>##objectlock.url##</td>\n </tr>\n <tr>\n <td>##lang.objectlock.date_mod##</td>\n <td>##objectlock.date_mod##</td>\n </tr>\n </tbody>\n </table>\n <p><span style=\"font-size: small;\">Hello ##objectlock.lockedby.firstname##,<br />Could go to this item and unlock it for me?<br />Thank you,<br />Regards,<br />##objectlock.requester.firstname## ##objectlock.requester.lastname##</span></p>'),(24,24,'','##savedsearch.action## ##savedsearch.name##','##savedsearch.type## ###savedsearch.id## - ##savedsearch.name##\n\n ##savedsearch.message##\n\n ##lang.savedsearch.url##\n ##savedsearch.url##\n\n Regards,','<table>\n <tbody>\n <tr><th colspan=\"2\"><a href=\"##savedsearch.url##\">##savedsearch.type## ###savedsearch.id## - ##savedsearch.name##</a></th></tr>\n <tr><td colspan=\"2\"><a href=\"##savedsearch.url##\">##savedsearch.message##</a></td></tr>\n <tr>\n <td>##lang.savedsearch.url##</td>\n <td>##savedsearch.url##</td>\n </tr>\n </tbody>\n </table>\n <p><span style=\"font-size: small;\">Hello <br />Regards,</span></p>'),(25,25,'','##certificate.action## ##certificate.entity##','##lang.certificate.entity## : ##certificate.entity##\n\n##FOREACHcertificates##\n\n##lang.certificate.serial## : ##certificate.serial##\n\n##lang.certificate.expirationdate## : ##certificate.expirationdate##\n\n##certificate.url##\n ##ENDFOREACHcertificates##','<p>\n##lang.certificate.entity## : ##certificate.entity##<br />\n##FOREACHcertificates##\n<br />##lang.certificate.name## : ##certificate.name##<br />\n##lang.certificate.serial## : ##certificate.serial##<br />\n##lang.certificate.expirationdate## : ##certificate.expirationdate##\n<br /> <a href=\"##certificate.url##\"> ##certificate.url##\n</a><br /> ##ENDFOREACHcertificates##</p>'); +/*!40000 ALTER TABLE `glpi_notificationtemplatetranslations` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_notimportedemails` +-- + +DROP TABLE IF EXISTS `glpi_notimportedemails`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_notimportedemails` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `from` varchar(255) NOT NULL, + `to` varchar(255) NOT NULL, + `mailcollectors_id` int(11) NOT NULL DEFAULT '0', + `date` datetime NOT NULL, + `subject` text, + `messageid` varchar(255) NOT NULL, + `reason` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `users_id` (`users_id`), + KEY `mailcollectors_id` (`mailcollectors_id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_notimportedemails` +-- + +LOCK TABLES `glpi_notimportedemails` WRITE; +/*!40000 ALTER TABLE `glpi_notimportedemails` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_notimportedemails` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_objectlocks` +-- + +DROP TABLE IF EXISTS `glpi_objectlocks`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_objectlocks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Type of locked object', + `items_id` int(11) NOT NULL COMMENT 'RELATION to various tables, according to itemtype (ID)', + `users_id` int(11) NOT NULL COMMENT 'id of the locker', + `date_mod` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Timestamp of the lock', + PRIMARY KEY (`id`), + UNIQUE KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_objectlocks` +-- + +LOCK TABLES `glpi_objectlocks` WRITE; +/*!40000 ALTER TABLE `glpi_objectlocks` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_objectlocks` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_olalevelactions` +-- + +DROP TABLE IF EXISTS `glpi_olalevelactions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_olalevelactions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `olalevels_id` int(11) NOT NULL DEFAULT '0', + `action_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `olalevels_id` (`olalevels_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_olalevelactions` +-- + +LOCK TABLES `glpi_olalevelactions` WRITE; +/*!40000 ALTER TABLE `glpi_olalevelactions` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_olalevelactions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_olalevelcriterias` +-- + +DROP TABLE IF EXISTS `glpi_olalevelcriterias`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_olalevelcriterias` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `olalevels_id` int(11) NOT NULL DEFAULT '0', + `criteria` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `condition` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php PATTERN_* and REGEX_* constant', + `pattern` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `olalevels_id` (`olalevels_id`), + KEY `condition` (`condition`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_olalevelcriterias` +-- + +LOCK TABLES `glpi_olalevelcriterias` WRITE; +/*!40000 ALTER TABLE `glpi_olalevelcriterias` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_olalevelcriterias` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_olalevels` +-- + +DROP TABLE IF EXISTS `glpi_olalevels`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_olalevels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `olas_id` int(11) NOT NULL DEFAULT '0', + `execution_time` int(11) NOT NULL, + `is_active` tinyint(1) NOT NULL DEFAULT '1', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `match` char(10) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'see define.php *_MATCHING constant', + `uuid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_active` (`is_active`), + KEY `olas_id` (`olas_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_olalevels` +-- + +LOCK TABLES `glpi_olalevels` WRITE; +/*!40000 ALTER TABLE `glpi_olalevels` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_olalevels` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_olalevels_tickets` +-- + +DROP TABLE IF EXISTS `glpi_olalevels_tickets`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_olalevels_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `olalevels_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`tickets_id`,`olalevels_id`), + KEY `tickets_id` (`tickets_id`), + KEY `olalevels_id` (`olalevels_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_olalevels_tickets` +-- + +LOCK TABLES `glpi_olalevels_tickets` WRITE; +/*!40000 ALTER TABLE `glpi_olalevels_tickets` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_olalevels_tickets` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_olas` +-- + +DROP TABLE IF EXISTS `glpi_olas`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_olas` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `number_time` int(11) NOT NULL, + `calendars_id` int(11) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `definition_time` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `end_of_working_day` tinyint(1) NOT NULL DEFAULT '0', + `date_creation` datetime DEFAULT NULL, + `slms_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`), + KEY `calendars_id` (`calendars_id`), + KEY `slms_id` (`slms_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_olas` +-- + +LOCK TABLES `glpi_olas` WRITE; +/*!40000 ALTER TABLE `glpi_olas` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_olas` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_operatingsystemarchitectures` +-- + +DROP TABLE IF EXISTS `glpi_operatingsystemarchitectures`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_operatingsystemarchitectures` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_operatingsystemarchitectures` +-- + +LOCK TABLES `glpi_operatingsystemarchitectures` WRITE; +/*!40000 ALTER TABLE `glpi_operatingsystemarchitectures` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_operatingsystemarchitectures` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_operatingsystemeditions` +-- + +DROP TABLE IF EXISTS `glpi_operatingsystemeditions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_operatingsystemeditions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_operatingsystemeditions` +-- + +LOCK TABLES `glpi_operatingsystemeditions` WRITE; +/*!40000 ALTER TABLE `glpi_operatingsystemeditions` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_operatingsystemeditions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_operatingsystemkernels` +-- + +DROP TABLE IF EXISTS `glpi_operatingsystemkernels`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_operatingsystemkernels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_operatingsystemkernels` +-- + +LOCK TABLES `glpi_operatingsystemkernels` WRITE; +/*!40000 ALTER TABLE `glpi_operatingsystemkernels` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_operatingsystemkernels` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_operatingsystemkernelversions` +-- + +DROP TABLE IF EXISTS `glpi_operatingsystemkernelversions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_operatingsystemkernelversions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `operatingsystemkernels_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `operatingsystemkernels_id` (`operatingsystemkernels_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_operatingsystemkernelversions` +-- + +LOCK TABLES `glpi_operatingsystemkernelversions` WRITE; +/*!40000 ALTER TABLE `glpi_operatingsystemkernelversions` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_operatingsystemkernelversions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_operatingsystems` +-- + +DROP TABLE IF EXISTS `glpi_operatingsystems`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_operatingsystems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_operatingsystems` +-- + +LOCK TABLES `glpi_operatingsystems` WRITE; +/*!40000 ALTER TABLE `glpi_operatingsystems` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_operatingsystems` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_operatingsystemservicepacks` +-- + +DROP TABLE IF EXISTS `glpi_operatingsystemservicepacks`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_operatingsystemservicepacks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_operatingsystemservicepacks` +-- + +LOCK TABLES `glpi_operatingsystemservicepacks` WRITE; +/*!40000 ALTER TABLE `glpi_operatingsystemservicepacks` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_operatingsystemservicepacks` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_operatingsystemversions` +-- + +DROP TABLE IF EXISTS `glpi_operatingsystemversions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_operatingsystemversions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_operatingsystemversions` +-- + +LOCK TABLES `glpi_operatingsystemversions` WRITE; +/*!40000 ALTER TABLE `glpi_operatingsystemversions` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_operatingsystemversions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_peripheralmodels` +-- + +DROP TABLE IF EXISTS `glpi_peripheralmodels`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_peripheralmodels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `product_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`), + KEY `product_number` (`product_number`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_peripheralmodels` +-- + +LOCK TABLES `glpi_peripheralmodels` WRITE; +/*!40000 ALTER TABLE `glpi_peripheralmodels` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_peripheralmodels` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_peripherals` +-- + +DROP TABLE IF EXISTS `glpi_peripherals`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_peripherals` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `locations_id` int(11) NOT NULL DEFAULT '0', + `peripheraltypes_id` int(11) NOT NULL DEFAULT '0', + `peripheralmodels_id` int(11) NOT NULL DEFAULT '0', + `brand` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `is_global` tinyint(1) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `states_id` int(11) NOT NULL DEFAULT '0', + `ticket_tco` decimal(20,4) DEFAULT '0.0000', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `date_creation` datetime DEFAULT NULL, + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_template` (`is_template`), + KEY `is_global` (`is_global`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `groups_id` (`groups_id`), + KEY `users_id` (`users_id`), + KEY `locations_id` (`locations_id`), + KEY `peripheralmodels_id` (`peripheralmodels_id`), + KEY `states_id` (`states_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `peripheraltypes_id` (`peripheraltypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `date_mod` (`date_mod`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `is_dynamic` (`is_dynamic`), + KEY `serial` (`serial`), + KEY `otherserial` (`otherserial`), + KEY `date_creation` (`date_creation`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_peripherals` +-- + +LOCK TABLES `glpi_peripherals` WRITE; +/*!40000 ALTER TABLE `glpi_peripherals` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_peripherals` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_peripheraltypes` +-- + +DROP TABLE IF EXISTS `glpi_peripheraltypes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_peripheraltypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_peripheraltypes` +-- + +LOCK TABLES `glpi_peripheraltypes` WRITE; +/*!40000 ALTER TABLE `glpi_peripheraltypes` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_peripheraltypes` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_phonemodels` +-- + +DROP TABLE IF EXISTS `glpi_phonemodels`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_phonemodels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `product_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`), + KEY `product_number` (`product_number`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_phonemodels` +-- + +LOCK TABLES `glpi_phonemodels` WRITE; +/*!40000 ALTER TABLE `glpi_phonemodels` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_phonemodels` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_phonepowersupplies` +-- + +DROP TABLE IF EXISTS `glpi_phonepowersupplies`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_phonepowersupplies` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_phonepowersupplies` +-- + +LOCK TABLES `glpi_phonepowersupplies` WRITE; +/*!40000 ALTER TABLE `glpi_phonepowersupplies` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_phonepowersupplies` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_phones` +-- + +DROP TABLE IF EXISTS `glpi_phones`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_phones` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `locations_id` int(11) NOT NULL DEFAULT '0', + `phonetypes_id` int(11) NOT NULL DEFAULT '0', + `phonemodels_id` int(11) NOT NULL DEFAULT '0', + `brand` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phonepowersupplies_id` int(11) NOT NULL DEFAULT '0', + `number_line` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `have_headset` tinyint(1) NOT NULL DEFAULT '0', + `have_hp` tinyint(1) NOT NULL DEFAULT '0', + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `is_global` tinyint(1) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `states_id` int(11) NOT NULL DEFAULT '0', + `ticket_tco` decimal(20,4) DEFAULT '0.0000', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `date_creation` datetime DEFAULT NULL, + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_template` (`is_template`), + KEY `is_global` (`is_global`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `groups_id` (`groups_id`), + KEY `users_id` (`users_id`), + KEY `locations_id` (`locations_id`), + KEY `phonemodels_id` (`phonemodels_id`), + KEY `phonepowersupplies_id` (`phonepowersupplies_id`), + KEY `states_id` (`states_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `phonetypes_id` (`phonetypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `date_mod` (`date_mod`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `is_dynamic` (`is_dynamic`), + KEY `serial` (`serial`), + KEY `otherserial` (`otherserial`), + KEY `date_creation` (`date_creation`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_phones` +-- + +LOCK TABLES `glpi_phones` WRITE; +/*!40000 ALTER TABLE `glpi_phones` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_phones` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_phonetypes` +-- + +DROP TABLE IF EXISTS `glpi_phonetypes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_phonetypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_phonetypes` +-- + +LOCK TABLES `glpi_phonetypes` WRITE; +/*!40000 ALTER TABLE `glpi_phonetypes` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_phonetypes` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_planningrecalls` +-- + +DROP TABLE IF EXISTS `glpi_planningrecalls`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_planningrecalls` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `before_time` int(11) NOT NULL DEFAULT '-10', + `when` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`itemtype`,`items_id`,`users_id`), + KEY `users_id` (`users_id`), + KEY `before_time` (`before_time`), + KEY `when` (`when`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_planningrecalls` +-- + +LOCK TABLES `glpi_planningrecalls` WRITE; +/*!40000 ALTER TABLE `glpi_planningrecalls` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_planningrecalls` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_plugins` +-- + +DROP TABLE IF EXISTS `glpi_plugins`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_plugins` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `directory` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL, + `state` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php PLUGIN_* constant', + `author` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `homepage` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `license` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`directory`), + KEY `state` (`state`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_plugins` +-- + +LOCK TABLES `glpi_plugins` WRITE; +/*!40000 ALTER TABLE `glpi_plugins` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_plugins` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_printermodels` +-- + +DROP TABLE IF EXISTS `glpi_printermodels`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_printermodels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `product_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`), + KEY `product_number` (`product_number`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_printermodels` +-- + +LOCK TABLES `glpi_printermodels` WRITE; +/*!40000 ALTER TABLE `glpi_printermodels` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_printermodels` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_printers` +-- + +DROP TABLE IF EXISTS `glpi_printers`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_printers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `have_serial` tinyint(1) NOT NULL DEFAULT '0', + `have_parallel` tinyint(1) NOT NULL DEFAULT '0', + `have_usb` tinyint(1) NOT NULL DEFAULT '0', + `have_wifi` tinyint(1) NOT NULL DEFAULT '0', + `have_ethernet` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `memory_size` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `locations_id` int(11) NOT NULL DEFAULT '0', + `domains_id` int(11) NOT NULL DEFAULT '0', + `networks_id` int(11) NOT NULL DEFAULT '0', + `printertypes_id` int(11) NOT NULL DEFAULT '0', + `printermodels_id` int(11) NOT NULL DEFAULT '0', + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `is_global` tinyint(1) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `init_pages_counter` int(11) NOT NULL DEFAULT '0', + `last_pages_counter` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `states_id` int(11) NOT NULL DEFAULT '0', + `ticket_tco` decimal(20,4) DEFAULT '0.0000', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_template` (`is_template`), + KEY `is_global` (`is_global`), + KEY `domains_id` (`domains_id`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `groups_id` (`groups_id`), + KEY `users_id` (`users_id`), + KEY `locations_id` (`locations_id`), + KEY `printermodels_id` (`printermodels_id`), + KEY `networks_id` (`networks_id`), + KEY `states_id` (`states_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `printertypes_id` (`printertypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `date_mod` (`date_mod`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `last_pages_counter` (`last_pages_counter`), + KEY `is_dynamic` (`is_dynamic`), + KEY `serial` (`serial`), + KEY `otherserial` (`otherserial`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_printers` +-- + +LOCK TABLES `glpi_printers` WRITE; +/*!40000 ALTER TABLE `glpi_printers` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_printers` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_printertypes` +-- + +DROP TABLE IF EXISTS `glpi_printertypes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_printertypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_printertypes` +-- + +LOCK TABLES `glpi_printertypes` WRITE; +/*!40000 ALTER TABLE `glpi_printertypes` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_printertypes` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_problemcosts` +-- + +DROP TABLE IF EXISTS `glpi_problemcosts`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_problemcosts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `problems_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `begin_date` date DEFAULT NULL, + `end_date` date DEFAULT NULL, + `actiontime` int(11) NOT NULL DEFAULT '0', + `cost_time` decimal(20,4) NOT NULL DEFAULT '0.0000', + `cost_fixed` decimal(20,4) NOT NULL DEFAULT '0.0000', + `cost_material` decimal(20,4) NOT NULL DEFAULT '0.0000', + `budgets_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `problems_id` (`problems_id`), + KEY `begin_date` (`begin_date`), + KEY `end_date` (`end_date`), + KEY `entities_id` (`entities_id`), + KEY `budgets_id` (`budgets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_problemcosts` +-- + +LOCK TABLES `glpi_problemcosts` WRITE; +/*!40000 ALTER TABLE `glpi_problemcosts` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_problemcosts` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_problems` +-- + +DROP TABLE IF EXISTS `glpi_problems`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_problems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `status` int(11) NOT NULL DEFAULT '1', + `content` longtext COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date` datetime DEFAULT NULL, + `solvedate` datetime DEFAULT NULL, + `closedate` datetime DEFAULT NULL, + `time_to_resolve` datetime DEFAULT NULL, + `users_id_recipient` int(11) NOT NULL DEFAULT '0', + `users_id_lastupdater` int(11) NOT NULL DEFAULT '0', + `urgency` int(11) NOT NULL DEFAULT '1', + `impact` int(11) NOT NULL DEFAULT '1', + `priority` int(11) NOT NULL DEFAULT '1', + `itilcategories_id` int(11) NOT NULL DEFAULT '0', + `impactcontent` longtext COLLATE utf8_unicode_ci, + `causecontent` longtext COLLATE utf8_unicode_ci, + `symptomcontent` longtext COLLATE utf8_unicode_ci, + `solutiontypes_id` int(11) NOT NULL DEFAULT '0', + `solution` longtext COLLATE utf8_unicode_ci, + `actiontime` int(11) NOT NULL DEFAULT '0', + `begin_waiting_date` datetime DEFAULT NULL, + `waiting_duration` int(11) NOT NULL DEFAULT '0', + `close_delay_stat` int(11) NOT NULL DEFAULT '0', + `solve_delay_stat` int(11) NOT NULL DEFAULT '0', + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `is_deleted` (`is_deleted`), + KEY `date` (`date`), + KEY `closedate` (`closedate`), + KEY `status` (`status`), + KEY `priority` (`priority`), + KEY `date_mod` (`date_mod`), + KEY `itilcategories_id` (`itilcategories_id`), + KEY `users_id_recipient` (`users_id_recipient`), + KEY `solvedate` (`solvedate`), + KEY `solutiontypes_id` (`solutiontypes_id`), + KEY `urgency` (`urgency`), + KEY `impact` (`impact`), + KEY `time_to_resolve` (`time_to_resolve`), + KEY `users_id_lastupdater` (`users_id_lastupdater`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_problems` +-- + +LOCK TABLES `glpi_problems` WRITE; +/*!40000 ALTER TABLE `glpi_problems` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_problems` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_problems_suppliers` +-- + +DROP TABLE IF EXISTS `glpi_problems_suppliers`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_problems_suppliers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `problems_id` int(11) NOT NULL DEFAULT '0', + `suppliers_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `use_notification` tinyint(1) NOT NULL DEFAULT '0', + `alternative_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`problems_id`,`type`,`suppliers_id`), + KEY `group` (`suppliers_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_problems_suppliers` +-- + +LOCK TABLES `glpi_problems_suppliers` WRITE; +/*!40000 ALTER TABLE `glpi_problems_suppliers` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_problems_suppliers` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_problems_tickets` +-- + +DROP TABLE IF EXISTS `glpi_problems_tickets`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_problems_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `problems_id` int(11) NOT NULL DEFAULT '0', + `tickets_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`problems_id`,`tickets_id`), + KEY `tickets_id` (`tickets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_problems_tickets` +-- + +LOCK TABLES `glpi_problems_tickets` WRITE; +/*!40000 ALTER TABLE `glpi_problems_tickets` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_problems_tickets` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_problems_users` +-- + +DROP TABLE IF EXISTS `glpi_problems_users`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_problems_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `problems_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `use_notification` tinyint(1) NOT NULL DEFAULT '0', + `alternative_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`problems_id`,`type`,`users_id`,`alternative_email`), + KEY `user` (`users_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_problems_users` +-- + +LOCK TABLES `glpi_problems_users` WRITE; +/*!40000 ALTER TABLE `glpi_problems_users` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_problems_users` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_problemtasks` +-- + +DROP TABLE IF EXISTS `glpi_problemtasks`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_problemtasks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `problems_id` int(11) NOT NULL DEFAULT '0', + `taskcategories_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `begin` datetime DEFAULT NULL, + `end` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `users_id_editor` int(11) NOT NULL DEFAULT '0', + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `content` longtext COLLATE utf8_unicode_ci, + `actiontime` int(11) NOT NULL DEFAULT '0', + `state` int(11) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + `tasktemplates_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `problems_id` (`problems_id`), + KEY `users_id` (`users_id`), + KEY `users_id_editor` (`users_id_editor`), + KEY `users_id_tech` (`users_id_tech`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `date` (`date`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`), + KEY `begin` (`begin`), + KEY `end` (`end`), + KEY `state` (`state`), + KEY `taskcategories_id` (`taskcategories_id`), + KEY `tasktemplates_id` (`tasktemplates_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_problemtasks` +-- + +LOCK TABLES `glpi_problemtasks` WRITE; +/*!40000 ALTER TABLE `glpi_problemtasks` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_problemtasks` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_profilerights` +-- + +DROP TABLE IF EXISTS `glpi_profilerights`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_profilerights` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `profiles_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `rights` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`profiles_id`,`name`) +) ENGINE=MyISAM AUTO_INCREMENT=861 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_profilerights` +-- + +LOCK TABLES `glpi_profilerights` WRITE; +/*!40000 ALTER TABLE `glpi_profilerights` DISABLE KEYS */; +INSERT INTO `glpi_profilerights` VALUES (1,1,'computer',0),(2,1,'monitor',0),(3,1,'software',0),(4,1,'networking',0),(5,1,'internet',0),(6,1,'printer',0),(7,1,'peripheral',0),(8,1,'cartridge',0),(9,1,'consumable',0),(10,1,'phone',0),(734,6,'queuednotification',0),(12,1,'contact_enterprise',0),(13,1,'document',0),(14,1,'contract',0),(15,1,'infocom',0),(16,1,'knowbase',10240),(20,1,'reservation',1024),(21,1,'reports',0),(22,1,'dropdown',0),(24,1,'device',0),(25,1,'typedoc',0),(26,1,'link',0),(27,1,'config',0),(29,1,'rule_ticket',0),(30,1,'rule_import',0),(31,1,'rule_ldap',0),(32,1,'rule_softwarecategories',0),(33,1,'search_config',0),(684,5,'location',0),(679,7,'domain',31),(36,1,'profile',0),(37,1,'user',0),(39,1,'group',0),(40,1,'entity',0),(41,1,'transfer',0),(42,1,'logs',0),(43,1,'reminder_public',1),(44,1,'rssfeed_public',1),(45,1,'bookmark_public',0),(46,1,'backup',0),(47,1,'ticket',131077),(51,1,'followup',5),(52,1,'task',1),(64,1,'planning',0),(716,2,'state',0),(709,2,'taskcategory',0),(67,1,'statistic',0),(68,1,'password_update',1),(70,1,'show_group_hardware',0),(71,1,'rule_dictionnary_software',0),(72,1,'rule_dictionnary_dropdown',0),(73,1,'budget',0),(75,1,'notification',0),(76,1,'rule_mailcollector',0),(728,7,'solutiontemplate',31),(79,1,'calendar',0),(80,1,'slm',0),(81,1,'rule_dictionnary_printer',0),(85,1,'problem',0),(702,2,'netpoint',0),(697,4,'knowbasecategory',31),(691,5,'itilcategory',0),(89,1,'tickettemplate',0),(90,1,'ticketrecurrent',0),(91,1,'ticketcost',1),(671,6,'changevalidation',20),(94,1,'ticketvalidation',0),(95,2,'computer',33),(96,2,'monitor',33),(97,2,'software',33),(98,2,'networking',33),(99,2,'internet',1),(100,2,'printer',33),(101,2,'peripheral',33),(102,2,'cartridge',33),(103,2,'consumable',33),(104,2,'phone',33),(733,5,'queuednotification',0),(106,2,'contact_enterprise',33),(107,2,'document',33),(108,2,'contract',33),(109,2,'infocom',1),(110,2,'knowbase',10241),(114,2,'reservation',1025),(115,2,'reports',1),(116,2,'dropdown',0),(118,2,'device',0),(119,2,'typedoc',1),(120,2,'link',1),(121,2,'config',0),(123,2,'rule_ticket',0),(124,2,'rule_import',0),(125,2,'rule_ldap',0),(126,2,'rule_softwarecategories',0),(127,2,'search_config',1055),(683,4,'location',31),(678,6,'domain',0),(130,2,'profile',0),(131,2,'user',2049),(133,2,'group',1),(134,2,'entity',32),(135,2,'transfer',0),(136,2,'logs',0),(137,2,'reminder_public',0),(138,2,'rssfeed_public',0),(139,2,'bookmark_public',0),(140,2,'backup',1024),(141,2,'ticket',168989),(145,2,'followup',5),(146,2,'task',1),(748,6,'projecttask',1025),(749,7,'projecttask',1025),(158,2,'planning',1),(715,1,'state',0),(708,1,'taskcategory',0),(161,2,'statistic',1),(162,2,'password_update',1),(164,2,'show_group_hardware',0),(165,2,'rule_dictionnary_software',0),(166,2,'rule_dictionnary_dropdown',0),(167,2,'budget',33),(169,2,'notification',0),(170,2,'rule_mailcollector',0),(726,5,'solutiontemplate',0),(727,6,'solutiontemplate',0),(173,2,'calendar',0),(174,2,'slm',0),(175,2,'rule_dictionnary_printer',0),(179,2,'problem',1057),(701,1,'netpoint',0),(696,3,'knowbasecategory',31),(690,4,'itilcategory',31),(183,2,'tickettemplate',0),(184,2,'ticketrecurrent',0),(185,2,'ticketcost',1),(669,4,'changevalidation',1044),(670,5,'changevalidation',20),(188,2,'ticketvalidation',15384),(189,3,'computer',127),(190,3,'monitor',127),(191,3,'software',127),(192,3,'networking',127),(193,3,'internet',31),(194,3,'printer',127),(195,3,'peripheral',127),(196,3,'cartridge',127),(197,3,'consumable',127),(198,3,'phone',127),(732,4,'queuednotification',31),(200,3,'contact_enterprise',127),(201,3,'document',127),(202,3,'contract',127),(203,3,'infocom',31),(204,3,'knowbase',14367),(208,3,'reservation',1055),(209,3,'reports',1),(210,3,'dropdown',31),(212,3,'device',31),(213,3,'typedoc',31),(214,3,'link',31),(215,3,'config',0),(217,3,'rule_ticket',0),(218,3,'rule_import',0),(219,3,'rule_ldap',0),(220,3,'rule_softwarecategories',0),(221,3,'search_config',3103),(682,3,'location',31),(677,5,'domain',0),(224,3,'profile',1),(225,3,'user',7199),(227,3,'group',31),(228,3,'entity',96),(229,3,'transfer',0),(230,3,'logs',0),(231,3,'reminder_public',0),(232,3,'rssfeed_public',0),(233,3,'bookmark_public',0),(234,3,'backup',1024),(235,3,'ticket',259103),(239,3,'followup',15383),(240,3,'task',13329),(745,3,'projecttask',1025),(746,4,'projecttask',1025),(747,5,'projecttask',0),(252,3,'planning',3073),(714,7,'taskcategory',31),(707,7,'netpoint',31),(255,3,'statistic',1),(256,3,'password_update',1),(258,3,'show_group_hardware',0),(259,3,'rule_dictionnary_software',0),(260,3,'rule_dictionnary_dropdown',0),(261,3,'budget',127),(263,3,'notification',0),(264,3,'rule_mailcollector',0),(724,3,'solutiontemplate',31),(725,4,'solutiontemplate',31),(267,3,'calendar',31),(268,3,'slm',0),(269,3,'rule_dictionnary_printer',0),(273,3,'problem',1151),(695,2,'knowbasecategory',0),(689,3,'itilcategory',31),(277,3,'tickettemplate',0),(278,3,'ticketrecurrent',0),(279,3,'ticketcost',31),(667,2,'changevalidation',1044),(668,3,'changevalidation',1044),(282,3,'ticketvalidation',15384),(283,4,'computer',255),(284,4,'monitor',255),(285,4,'software',255),(286,4,'networking',255),(287,4,'internet',159),(288,4,'printer',255),(289,4,'peripheral',255),(290,4,'cartridge',255),(291,4,'consumable',255),(292,4,'phone',255),(294,4,'contact_enterprise',255),(295,4,'document',255),(296,4,'contract',255),(297,4,'infocom',31),(298,4,'knowbase',15519),(302,4,'reservation',1055),(303,4,'reports',1),(304,4,'dropdown',31),(306,4,'device',31),(307,4,'typedoc',31),(308,4,'link',159),(309,4,'config',31),(311,4,'rule_ticket',1055),(312,4,'rule_import',31),(313,4,'rule_ldap',31),(314,4,'rule_softwarecategories',31),(315,4,'search_config',3103),(681,2,'location',0),(676,4,'domain',31),(318,4,'profile',159),(319,4,'user',7327),(321,4,'group',159),(322,4,'entity',3327),(323,4,'transfer',31),(324,4,'logs',1),(325,4,'reminder_public',159),(326,4,'rssfeed_public',159),(327,4,'bookmark_public',31),(328,4,'backup',1055),(329,4,'ticket',259231),(333,4,'followup',15383),(334,4,'task',13329),(742,7,'project',1151),(743,1,'projecttask',0),(744,2,'projecttask',1025),(346,4,'planning',3073),(713,6,'taskcategory',0),(706,6,'netpoint',0),(349,4,'statistic',1),(350,4,'password_update',1),(352,4,'show_group_hardware',0),(353,4,'rule_dictionnary_software',31),(354,4,'rule_dictionnary_dropdown',31),(355,4,'budget',255),(357,4,'notification',31),(358,4,'rule_mailcollector',31),(722,1,'solutiontemplate',0),(723,2,'solutiontemplate',0),(361,4,'calendar',31),(362,4,'slm',31),(363,4,'rule_dictionnary_printer',31),(367,4,'problem',1279),(694,1,'knowbasecategory',0),(688,2,'itilcategory',0),(371,4,'tickettemplate',31),(372,4,'ticketrecurrent',31),(373,4,'ticketcost',31),(665,7,'change',1151),(666,1,'changevalidation',0),(376,4,'ticketvalidation',15384),(377,5,'computer',0),(378,5,'monitor',0),(379,5,'software',0),(380,5,'networking',0),(381,5,'internet',0),(382,5,'printer',0),(383,5,'peripheral',0),(384,5,'cartridge',0),(385,5,'consumable',0),(386,5,'phone',0),(731,3,'queuednotification',0),(388,5,'contact_enterprise',0),(389,5,'document',0),(390,5,'contract',0),(391,5,'infocom',0),(392,5,'knowbase',8192),(396,5,'reservation',0),(397,5,'reports',0),(398,5,'dropdown',0),(400,5,'device',0),(401,5,'typedoc',0),(402,5,'link',0),(403,5,'config',0),(405,5,'rule_ticket',0),(406,5,'rule_import',0),(407,5,'rule_ldap',0),(408,5,'rule_softwarecategories',0),(409,5,'search_config',0),(680,1,'location',0),(675,3,'domain',31),(412,5,'profile',0),(413,5,'user',1025),(415,5,'group',0),(416,5,'entity',0),(417,5,'transfer',0),(418,5,'logs',0),(419,5,'reminder_public',0),(420,5,'rssfeed_public',0),(421,5,'bookmark_public',0),(422,5,'backup',0),(423,5,'ticket',140295),(427,5,'followup',12295),(428,5,'task',8193),(739,4,'project',1279),(740,5,'project',1150),(741,6,'project',1151),(440,5,'planning',1),(712,5,'taskcategory',0),(705,5,'netpoint',0),(443,5,'statistic',1),(444,5,'password_update',1),(446,5,'show_group_hardware',0),(447,5,'rule_dictionnary_software',0),(448,5,'rule_dictionnary_dropdown',0),(449,5,'budget',0),(451,5,'notification',0),(452,5,'rule_mailcollector',0),(720,6,'state',0),(721,7,'state',31),(455,5,'calendar',0),(456,5,'slm',0),(457,5,'rule_dictionnary_printer',0),(461,5,'problem',1024),(700,7,'knowbasecategory',31),(687,1,'itilcategory',0),(465,5,'tickettemplate',1),(466,5,'ticketrecurrent',0),(467,5,'ticketcost',31),(663,5,'change',1054),(664,6,'change',1151),(470,5,'ticketvalidation',3088),(471,6,'computer',127),(472,6,'monitor',127),(473,6,'software',127),(474,6,'networking',127),(475,6,'internet',31),(476,6,'printer',127),(477,6,'peripheral',127),(478,6,'cartridge',127),(479,6,'consumable',127),(480,6,'phone',127),(730,2,'queuednotification',0),(482,6,'contact_enterprise',96),(483,6,'document',127),(484,6,'contract',96),(485,6,'infocom',0),(486,6,'knowbase',14367),(490,6,'reservation',1055),(491,6,'reports',1),(492,6,'dropdown',0),(494,6,'device',0),(495,6,'typedoc',0),(496,6,'link',0),(497,6,'config',0),(499,6,'rule_ticket',0),(500,6,'rule_import',0),(501,6,'rule_ldap',0),(502,6,'rule_softwarecategories',0),(503,6,'search_config',0),(674,2,'domain',0),(506,6,'profile',0),(507,6,'user',1055),(509,6,'group',1),(510,6,'entity',97),(511,6,'transfer',1),(512,6,'logs',0),(513,6,'reminder_public',31),(514,6,'rssfeed_public',31),(515,6,'bookmark_public',0),(516,6,'backup',0),(517,6,'ticket',168967),(521,6,'followup',13319),(522,6,'task',13329),(736,1,'project',0),(737,2,'project',1025),(738,3,'project',1151),(534,6,'planning',1),(711,4,'taskcategory',31),(704,4,'netpoint',31),(537,6,'statistic',1),(538,6,'password_update',1),(540,6,'show_group_hardware',0),(541,6,'rule_dictionnary_software',0),(542,6,'rule_dictionnary_dropdown',0),(543,6,'budget',96),(545,6,'notification',0),(546,6,'rule_mailcollector',0),(718,4,'state',31),(719,5,'state',0),(549,6,'calendar',0),(550,6,'slm',1),(551,6,'rule_dictionnary_printer',0),(555,6,'problem',1121),(699,6,'knowbasecategory',0),(693,7,'itilcategory',31),(686,7,'location',31),(559,6,'tickettemplate',1),(560,6,'ticketrecurrent',1),(561,6,'ticketcost',31),(661,3,'change',1151),(662,4,'change',1279),(564,6,'ticketvalidation',3088),(565,7,'computer',127),(566,7,'monitor',127),(567,7,'software',127),(568,7,'networking',127),(569,7,'internet',31),(570,7,'printer',127),(571,7,'peripheral',127),(572,7,'cartridge',127),(573,7,'consumable',127),(574,7,'phone',127),(729,1,'queuednotification',0),(576,7,'contact_enterprise',96),(577,7,'document',127),(578,7,'contract',96),(579,7,'infocom',0),(580,7,'knowbase',14367),(584,7,'reservation',1055),(585,7,'reports',1),(586,7,'dropdown',0),(588,7,'device',0),(589,7,'typedoc',0),(590,7,'link',0),(591,7,'config',0),(593,7,'rule_ticket',1055),(594,7,'rule_import',0),(595,7,'rule_ldap',0),(596,7,'rule_softwarecategories',0),(597,7,'search_config',0),(673,1,'domain',0),(600,7,'profile',0),(601,7,'user',1055),(603,7,'group',1),(604,7,'entity',97),(605,7,'transfer',1),(606,7,'logs',1),(607,7,'reminder_public',31),(608,7,'rssfeed_public',31),(609,7,'bookmark_public',0),(610,7,'backup',0),(611,7,'ticket',259103),(615,7,'followup',13335),(616,7,'task',13329),(735,7,'queuednotification',0),(628,7,'planning',2049),(710,3,'taskcategory',31),(703,3,'netpoint',31),(631,7,'statistic',1),(632,7,'password_update',1),(634,7,'show_group_hardware',0),(635,7,'rule_dictionnary_software',0),(636,7,'rule_dictionnary_dropdown',0),(637,7,'budget',96),(639,7,'notification',0),(640,7,'rule_mailcollector',31),(672,7,'changevalidation',1044),(717,3,'state',31),(643,7,'calendar',31),(644,7,'slm',31),(645,7,'rule_dictionnary_printer',0),(649,7,'problem',1151),(698,5,'knowbasecategory',0),(692,6,'itilcategory',0),(685,6,'location',0),(653,7,'tickettemplate',31),(654,7,'ticketrecurrent',31),(655,7,'ticketcost',31),(659,1,'change',0),(660,2,'change',1057),(658,7,'ticketvalidation',15384),(750,8,'backup',1),(751,8,'bookmark_public',1),(752,8,'budget',161),(753,8,'calendar',1),(754,8,'cartridge',161),(755,8,'change',1185),(756,8,'changevalidation',0),(757,8,'computer',161),(758,8,'config',1),(759,8,'consumable',161),(760,8,'contact_enterprise',161),(761,8,'contract',161),(762,8,'device',0),(763,8,'document',161),(764,8,'domain',1),(765,8,'dropdown',1),(766,8,'entity',1185),(767,8,'followup',8193),(768,8,'global_validation',0),(769,8,'group',129),(770,8,'infocom',1),(771,8,'internet',129),(772,8,'itilcategory',1),(773,8,'knowbase',10369),(774,8,'knowbasecategory',1),(775,8,'link',129),(776,8,'location',1),(777,8,'logs',1),(778,8,'monitor',161),(779,8,'netpoint',1),(780,8,'networking',161),(781,8,'notification',1),(782,8,'password_update',0),(783,8,'peripheral',161),(784,8,'phone',161),(785,8,'planning',3073),(786,8,'printer',161),(787,8,'problem',1185),(788,8,'profile',129),(789,8,'project',1185),(790,8,'projecttask',1),(791,8,'queuednotification',1),(792,8,'reminder_public',129),(793,8,'reports',1),(794,8,'reservation',1),(795,8,'rssfeed_public',129),(796,8,'rule_dictionnary_dropdown',1),(797,8,'rule_dictionnary_printer',1),(798,8,'rule_dictionnary_software',1),(799,8,'rule_import',1),(800,8,'rule_ldap',1),(801,8,'rule_mailcollector',1),(802,8,'rule_softwarecategories',1),(803,8,'rule_ticket',1),(804,8,'search_config',0),(805,8,'show_group_hardware',1),(806,8,'slm',1),(807,8,'software',161),(808,8,'solutiontemplate',1),(809,8,'state',1),(810,8,'statistic',1),(811,8,'task',8193),(812,8,'taskcategory',1),(813,8,'ticket',138369),(814,8,'ticketcost',1),(815,8,'ticketrecurrent',1),(816,8,'tickettemplate',1),(817,8,'ticketvalidation',0),(818,8,'transfer',1),(819,8,'typedoc',1),(820,8,'user',2177),(821,1,'license',0),(822,2,'license',33),(823,3,'license',127),(824,4,'license',255),(825,5,'license',0),(826,6,'license',127),(827,7,'license',127),(828,8,'license',161),(829,1,'line',0),(830,2,'line',33),(831,3,'line',127),(832,4,'line',255),(833,5,'line',0),(834,6,'line',127),(835,7,'line',127),(836,8,'line',161),(837,1,'lineoperator',0),(838,2,'lineoperator',33),(839,3,'lineoperator',31),(840,4,'lineoperator',31),(841,5,'lineoperator',0),(842,6,'lineoperator',0),(843,7,'lineoperator',31),(844,8,'lineoperator',1),(84,1,'devicesimcard_pinpuk',0),(846,2,'devicesimcard_pinpuk',0),(847,3,'devicesimcard_pinpuk',3),(848,4,'devicesimcard_pinpuk',3),(849,5,'devicesimcard_pinpuk',1),(850,6,'devicesimcard_pinpuk',3),(851,7,'devicesimcard_pinpuk',0),(852,8,'devicesimcard_pinpuk',0),(853,1,'certificate',0),(854,2,'certificate',33),(855,3,'certificate',127),(856,4,'certificate',255),(857,5,'certificate',0),(858,6,'certificate',127),(859,7,'certificate',127),(860,8,'certificate',161); +/*!40000 ALTER TABLE `glpi_profilerights` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_profiles` +-- + +DROP TABLE IF EXISTS `glpi_profiles`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_profiles` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `interface` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'helpdesk', + `is_default` tinyint(1) NOT NULL DEFAULT '0', + `helpdesk_hardware` int(11) NOT NULL DEFAULT '0', + `helpdesk_item_type` text COLLATE utf8_unicode_ci, + `ticket_status` text COLLATE utf8_unicode_ci COMMENT 'json encoded array of from/dest allowed status change', + `date_mod` datetime DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `problem_status` text COLLATE utf8_unicode_ci COMMENT 'json encoded array of from/dest allowed status change', + `create_ticket_on_login` tinyint(1) NOT NULL DEFAULT '0', + `tickettemplates_id` int(11) NOT NULL DEFAULT '0', + `change_status` text COLLATE utf8_unicode_ci COMMENT 'json encoded array of from/dest allowed status change', + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `interface` (`interface`), + KEY `is_default` (`is_default`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_profiles` +-- + +LOCK TABLES `glpi_profiles` WRITE; +/*!40000 ALTER TABLE `glpi_profiles` DISABLE KEYS */; +INSERT INTO `glpi_profiles` VALUES (1,'Self-Service','helpdesk',1,1,'[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','{\"1\":{\"2\":0,\"3\":0,\"4\":0,\"5\":0,\"6\":0},\"2\":{\"1\":0,\"3\":0,\"4\":0,\"5\":0,\"6\":0},\"3\":{\"1\":0,\"2\":0,\"4\":0,\"5\":0,\"6\":0},\"4\":{\"1\":0,\"2\":0,\"3\":0,\"5\":0,\"6\":0},\"5\":{\"1\":0,\"2\":0,\"3\":0,\"4\":0},\"6\":{\"1\":0,\"2\":0,\"3\":0,\"4\":0,\"5\":0}}',NULL,NULL,'[]',0,0,NULL,NULL),(2,'Observer','central',0,1,'[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','[]',NULL,NULL,'[]',0,0,NULL,NULL),(3,'Admin','central',0,3,'[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','[]',NULL,NULL,'[]',0,0,NULL,NULL),(4,'Super-Admin','central',0,3,'[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','[]',NULL,NULL,'[]',0,0,NULL,NULL),(5,'Hotliner','central',0,3,'[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','[]',NULL,NULL,'[]',1,0,NULL,NULL),(6,'Technician','central',0,3,'[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','[]',NULL,NULL,'[]',0,0,NULL,NULL),(7,'Supervisor','central',0,3,'[\"Computer\",\"Monitor\",\"NetworkEquipment\",\"Peripheral\",\"Phone\",\"Printer\",\"Software\"]','[]',NULL,NULL,'[]',0,0,NULL,NULL),(8,'Read-Only','central',0,0,'[]','{\"1\":{\"2\":0,\"3\":0,\"4\":0,\"5\":0,\"6\":0},\n \"2\":{\"1\":0,\"3\":0,\"4\":0,\"5\":0,\"6\":0},\n \"3\":{\"1\":0,\"2\":0,\"4\":0,\"5\":0,\"6\":0},\n \"4\":{\"1\":0,\"2\":0,\"3\":0,\"5\":0,\"6\":0},\n \"5\":{\"1\":0,\"2\":0,\"3\":0,\"4\":0,\"6\":0},\n \"6\":{\"1\":0,\"2\":0,\"3\":0,\"4\":0,\"5\":0}}',NULL,'This profile defines read-only access. It is used when objects are locked. It can also be used to give to users rights to unlock objects.','{\"1\":{\"7\":0,\"2\":0,\"3\":0,\"4\":0,\"5\":0,\"8\":0,\"6\":0},\n \"7\":{\"1\":0,\"2\":0,\"3\":0,\"4\":0,\"5\":0,\"8\":0,\"6\":0},\n \"2\":{\"1\":0,\"7\":0,\"3\":0,\"4\":0,\"5\":0,\"8\":0,\"6\":0},\n \"3\":{\"1\":0,\"7\":0,\"2\":0,\"4\":0,\"5\":0,\"8\":0,\"6\":0},\n \"4\":{\"1\":0,\"7\":0,\"2\":0,\"3\":0,\"5\":0,\"8\":0,\"6\":0},\n \"5\":{\"1\":0,\"7\":0,\"2\":0,\"3\":0,\"4\":0,\"8\":0,\"6\":0},\n \"8\":{\"1\":0,\"7\":0,\"2\":0,\"3\":0,\"4\":0,\"5\":0,\"6\":0},\n \"6\":{\"1\":0,\"7\":0,\"2\":0,\"3\":0,\"4\":0,\"5\":0,\"8\":0}}',0,0,'{\"1\":{\"9\":0,\"10\":0,\"7\":0,\"4\":0,\"11\":0,\"12\":0,\"5\":0,\"8\":0,\"6\":0},\n \"9\":{\"1\":0,\"10\":0,\"7\":0,\"4\":0,\"11\":0,\"12\":0,\"5\":0,\"8\":0,\"6\":0},\n \"10\":{\"1\":0,\"9\":0,\"7\":0,\"4\":0,\"11\":0,\"12\":0,\"5\":0,\"8\":0,\"6\":0},\n \"7\":{\"1\":0,\"9\":0,\"10\":0,\"4\":0,\"11\":0,\"12\":0,\"5\":0,\"8\":0,\"6\":0},\n \"4\":{\"1\":0,\"9\":0,\"10\":0,\"7\":0,\"11\":0,\"12\":0,\"5\":0,\"8\":0,\"6\":0},\n \"11\":{\"1\":0,\"9\":0,\"10\":0,\"7\":0,\"4\":0,\"12\":0,\"5\":0,\"8\":0,\"6\":0},\n \"12\":{\"1\":0,\"9\":0,\"10\":0,\"7\":0,\"4\":0,\"11\":0,\"5\":0,\"8\":0,\"6\":0},\n \"5\":{\"1\":0,\"9\":0,\"10\":0,\"7\":0,\"4\":0,\"11\":0,\"12\":0,\"8\":0,\"6\":0},\n \"8\":{\"1\":0,\"9\":0,\"10\":0,\"7\":0,\"4\":0,\"11\":0,\"12\":0,\"5\":0,\"6\":0},\n \"6\":{\"1\":0,\"9\":0,\"10\":0,\"7\":0,\"4\":0,\"11\":0,\"12\":0,\"5\":0,\"8\":0}}','2016-02-08 16:57:46'); +/*!40000 ALTER TABLE `glpi_profiles` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_profiles_reminders` +-- + +DROP TABLE IF EXISTS `glpi_profiles_reminders`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_profiles_reminders` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `reminders_id` int(11) NOT NULL DEFAULT '0', + `profiles_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `reminders_id` (`reminders_id`), + KEY `profiles_id` (`profiles_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_profiles_reminders` +-- + +LOCK TABLES `glpi_profiles_reminders` WRITE; +/*!40000 ALTER TABLE `glpi_profiles_reminders` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_profiles_reminders` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_profiles_rssfeeds` +-- + +DROP TABLE IF EXISTS `glpi_profiles_rssfeeds`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_profiles_rssfeeds` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `rssfeeds_id` int(11) NOT NULL DEFAULT '0', + `profiles_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `rssfeeds_id` (`rssfeeds_id`), + KEY `profiles_id` (`profiles_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_profiles_rssfeeds` +-- + +LOCK TABLES `glpi_profiles_rssfeeds` WRITE; +/*!40000 ALTER TABLE `glpi_profiles_rssfeeds` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_profiles_rssfeeds` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_profiles_users` +-- + +DROP TABLE IF EXISTS `glpi_profiles_users`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_profiles_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `users_id` int(11) NOT NULL DEFAULT '0', + `profiles_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '1', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `profiles_id` (`profiles_id`), + KEY `users_id` (`users_id`), + KEY `is_recursive` (`is_recursive`), + KEY `is_dynamic` (`is_dynamic`) +) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_profiles_users` +-- + +LOCK TABLES `glpi_profiles_users` WRITE; +/*!40000 ALTER TABLE `glpi_profiles_users` DISABLE KEYS */; +INSERT INTO `glpi_profiles_users` VALUES (2,2,4,0,1,0),(3,3,1,0,1,0),(4,4,6,0,1,0),(5,5,2,0,1,0); +/*!40000 ALTER TABLE `glpi_profiles_users` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_projectcosts` +-- + +DROP TABLE IF EXISTS `glpi_projectcosts`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_projectcosts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `projects_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `begin_date` date DEFAULT NULL, + `end_date` date DEFAULT NULL, + `cost` decimal(20,4) NOT NULL DEFAULT '0.0000', + `budgets_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `projects_id` (`projects_id`), + KEY `begin_date` (`begin_date`), + KEY `end_date` (`end_date`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `budgets_id` (`budgets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_projectcosts` +-- + +LOCK TABLES `glpi_projectcosts` WRITE; +/*!40000 ALTER TABLE `glpi_projectcosts` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_projectcosts` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_projects` +-- + +DROP TABLE IF EXISTS `glpi_projects`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_projects` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority` int(11) NOT NULL DEFAULT '1', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `projects_id` int(11) NOT NULL DEFAULT '0', + `projectstates_id` int(11) NOT NULL DEFAULT '0', + `projecttypes_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `plan_start_date` datetime DEFAULT NULL, + `plan_end_date` datetime DEFAULT NULL, + `real_start_date` datetime DEFAULT NULL, + `real_end_date` datetime DEFAULT NULL, + `percent_done` int(11) NOT NULL DEFAULT '0', + `show_on_global_gantt` tinyint(1) NOT NULL DEFAULT '0', + `content` longtext COLLATE utf8_unicode_ci, + `comment` longtext COLLATE utf8_unicode_ci, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `date_creation` datetime DEFAULT NULL, + `projecttemplates_id` int(11) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `code` (`code`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `projects_id` (`projects_id`), + KEY `projectstates_id` (`projectstates_id`), + KEY `projecttypes_id` (`projecttypes_id`), + KEY `priority` (`priority`), + KEY `date` (`date`), + KEY `date_mod` (`date_mod`), + KEY `users_id` (`users_id`), + KEY `groups_id` (`groups_id`), + KEY `plan_start_date` (`plan_start_date`), + KEY `plan_end_date` (`plan_end_date`), + KEY `real_start_date` (`real_start_date`), + KEY `real_end_date` (`real_end_date`), + KEY `percent_done` (`percent_done`), + KEY `show_on_global_gantt` (`show_on_global_gantt`), + KEY `date_creation` (`date_creation`), + KEY `projecttemplates_id` (`projecttemplates_id`), + KEY `is_template` (`is_template`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_projects` +-- + +LOCK TABLES `glpi_projects` WRITE; +/*!40000 ALTER TABLE `glpi_projects` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_projects` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_projectstates` +-- + +DROP TABLE IF EXISTS `glpi_projectstates`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_projectstates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_finished` tinyint(1) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_finished` (`is_finished`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_projectstates` +-- + +LOCK TABLES `glpi_projectstates` WRITE; +/*!40000 ALTER TABLE `glpi_projectstates` DISABLE KEYS */; +INSERT INTO `glpi_projectstates` VALUES (1,'New',NULL,'#06ff00',0,NULL,NULL),(2,'Processing',NULL,'#ffb800',0,NULL,NULL),(3,'Closed',NULL,'#ff0000',1,NULL,NULL); +/*!40000 ALTER TABLE `glpi_projectstates` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_projecttasks` +-- + +DROP TABLE IF EXISTS `glpi_projecttasks`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_projecttasks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `content` longtext COLLATE utf8_unicode_ci, + `comment` longtext COLLATE utf8_unicode_ci, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `projects_id` int(11) NOT NULL DEFAULT '0', + `projecttasks_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `plan_start_date` datetime DEFAULT NULL, + `plan_end_date` datetime DEFAULT NULL, + `real_start_date` datetime DEFAULT NULL, + `real_end_date` datetime DEFAULT NULL, + `planned_duration` int(11) NOT NULL DEFAULT '0', + `effective_duration` int(11) NOT NULL DEFAULT '0', + `projectstates_id` int(11) NOT NULL DEFAULT '0', + `projecttasktypes_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `percent_done` int(11) NOT NULL DEFAULT '0', + `is_milestone` tinyint(1) NOT NULL DEFAULT '0', + `projecttasktemplates_id` int(11) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `projects_id` (`projects_id`), + KEY `projecttasks_id` (`projecttasks_id`), + KEY `date` (`date`), + KEY `date_mod` (`date_mod`), + KEY `users_id` (`users_id`), + KEY `plan_start_date` (`plan_start_date`), + KEY `plan_end_date` (`plan_end_date`), + KEY `real_start_date` (`real_start_date`), + KEY `real_end_date` (`real_end_date`), + KEY `percent_done` (`percent_done`), + KEY `projectstates_id` (`projectstates_id`), + KEY `projecttasktypes_id` (`projecttasktypes_id`), + KEY `projecttasktemplates_id` (`projecttasktemplates_id`), + KEY `is_template` (`is_template`), + KEY `is_milestone` (`is_milestone`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_projecttasks` +-- + +LOCK TABLES `glpi_projecttasks` WRITE; +/*!40000 ALTER TABLE `glpi_projecttasks` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_projecttasks` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_projecttasks_tickets` +-- + +DROP TABLE IF EXISTS `glpi_projecttasks_tickets`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_projecttasks_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `projecttasks_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`tickets_id`,`projecttasks_id`), + KEY `projects_id` (`projecttasks_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_projecttasks_tickets` +-- + +LOCK TABLES `glpi_projecttasks_tickets` WRITE; +/*!40000 ALTER TABLE `glpi_projecttasks_tickets` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_projecttasks_tickets` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_projecttaskteams` +-- + +DROP TABLE IF EXISTS `glpi_projecttaskteams`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_projecttaskteams` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `projecttasks_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`projecttasks_id`,`itemtype`,`items_id`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_projecttaskteams` +-- + +LOCK TABLES `glpi_projecttaskteams` WRITE; +/*!40000 ALTER TABLE `glpi_projecttaskteams` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_projecttaskteams` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_projecttasktemplates` +-- + +DROP TABLE IF EXISTS `glpi_projecttasktemplates`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_projecttasktemplates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `description` longtext COLLATE utf8_unicode_ci, + `comment` longtext COLLATE utf8_unicode_ci, + `projects_id` int(11) NOT NULL DEFAULT '0', + `projecttasks_id` int(11) NOT NULL DEFAULT '0', + `plan_start_date` datetime DEFAULT NULL, + `plan_end_date` datetime DEFAULT NULL, + `real_start_date` datetime DEFAULT NULL, + `real_end_date` datetime DEFAULT NULL, + `planned_duration` int(11) NOT NULL DEFAULT '0', + `effective_duration` int(11) NOT NULL DEFAULT '0', + `projectstates_id` int(11) NOT NULL DEFAULT '0', + `projecttasktypes_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `percent_done` int(11) NOT NULL DEFAULT '0', + `is_milestone` tinyint(1) NOT NULL DEFAULT '0', + `comments` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `projects_id` (`projects_id`), + KEY `projecttasks_id` (`projecttasks_id`), + KEY `date_creation` (`date_creation`), + KEY `date_mod` (`date_mod`), + KEY `users_id` (`users_id`), + KEY `plan_start_date` (`plan_start_date`), + KEY `plan_end_date` (`plan_end_date`), + KEY `real_start_date` (`real_start_date`), + KEY `real_end_date` (`real_end_date`), + KEY `percent_done` (`percent_done`), + KEY `projectstates_id` (`projectstates_id`), + KEY `projecttasktypes_id` (`projecttasktypes_id`), + KEY `is_milestone` (`is_milestone`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_projecttasktemplates` +-- + +LOCK TABLES `glpi_projecttasktemplates` WRITE; +/*!40000 ALTER TABLE `glpi_projecttasktemplates` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_projecttasktemplates` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_projecttasktypes` +-- + +DROP TABLE IF EXISTS `glpi_projecttasktypes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_projecttasktypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_projecttasktypes` +-- + +LOCK TABLES `glpi_projecttasktypes` WRITE; +/*!40000 ALTER TABLE `glpi_projecttasktypes` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_projecttasktypes` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_projectteams` +-- + +DROP TABLE IF EXISTS `glpi_projectteams`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_projectteams` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `projects_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`projects_id`,`itemtype`,`items_id`), + KEY `item` (`itemtype`,`items_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_projectteams` +-- + +LOCK TABLES `glpi_projectteams` WRITE; +/*!40000 ALTER TABLE `glpi_projectteams` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_projectteams` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_projecttypes` +-- + +DROP TABLE IF EXISTS `glpi_projecttypes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_projecttypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_projecttypes` +-- + +LOCK TABLES `glpi_projecttypes` WRITE; +/*!40000 ALTER TABLE `glpi_projecttypes` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_projecttypes` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_queuednotifications` +-- + +DROP TABLE IF EXISTS `glpi_queuednotifications`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_queuednotifications` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `itemtype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + `notificationtemplates_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `sent_try` int(11) NOT NULL DEFAULT '0', + `create_time` datetime DEFAULT NULL, + `send_time` datetime DEFAULT NULL, + `sent_time` datetime DEFAULT NULL, + `name` text COLLATE utf8_unicode_ci, + `sender` text COLLATE utf8_unicode_ci, + `sendername` text COLLATE utf8_unicode_ci, + `recipient` text COLLATE utf8_unicode_ci, + `recipientname` text COLLATE utf8_unicode_ci, + `replyto` text COLLATE utf8_unicode_ci, + `replytoname` text COLLATE utf8_unicode_ci, + `headers` text COLLATE utf8_unicode_ci, + `body_html` longtext COLLATE utf8_unicode_ci, + `body_text` longtext COLLATE utf8_unicode_ci, + `messageid` text COLLATE utf8_unicode_ci, + `documents` text COLLATE utf8_unicode_ci, + `mode` varchar(20) COLLATE utf8_unicode_ci NOT NULL COMMENT 'See Notification_NotificationTemplate::MODE_* constants', + PRIMARY KEY (`id`), + KEY `item` (`itemtype`,`items_id`,`notificationtemplates_id`), + KEY `is_deleted` (`is_deleted`), + KEY `entities_id` (`entities_id`), + KEY `sent_try` (`sent_try`), + KEY `create_time` (`create_time`), + KEY `send_time` (`send_time`), + KEY `sent_time` (`sent_time`), + KEY `mode` (`mode`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_queuednotifications` +-- + +LOCK TABLES `glpi_queuednotifications` WRITE; +/*!40000 ALTER TABLE `glpi_queuednotifications` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_queuednotifications` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_registeredids` +-- + +DROP TABLE IF EXISTS `glpi_registeredids`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_registeredids` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `items_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `device_type` varchar(100) COLLATE utf8_unicode_ci NOT NULL COMMENT 'USB, PCI ...', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `item` (`items_id`,`itemtype`), + KEY `device_type` (`device_type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_registeredids` +-- + +LOCK TABLES `glpi_registeredids` WRITE; +/*!40000 ALTER TABLE `glpi_registeredids` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_registeredids` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_reminders` +-- + +DROP TABLE IF EXISTS `glpi_reminders`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_reminders` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `date` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `text` text COLLATE utf8_unicode_ci, + `begin` datetime DEFAULT NULL, + `end` datetime DEFAULT NULL, + `is_planned` tinyint(1) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `state` int(11) NOT NULL DEFAULT '0', + `begin_view_date` datetime DEFAULT NULL, + `end_view_date` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date` (`date`), + KEY `begin` (`begin`), + KEY `end` (`end`), + KEY `users_id` (`users_id`), + KEY `is_planned` (`is_planned`), + KEY `state` (`state`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_reminders` +-- + +LOCK TABLES `glpi_reminders` WRITE; +/*!40000 ALTER TABLE `glpi_reminders` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_reminders` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_reminders_users` +-- + +DROP TABLE IF EXISTS `glpi_reminders_users`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_reminders_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `reminders_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `reminders_id` (`reminders_id`), + KEY `users_id` (`users_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_reminders_users` +-- + +LOCK TABLES `glpi_reminders_users` WRITE; +/*!40000 ALTER TABLE `glpi_reminders_users` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_reminders_users` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_requesttypes` +-- + +DROP TABLE IF EXISTS `glpi_requesttypes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_requesttypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_helpdesk_default` tinyint(1) NOT NULL DEFAULT '0', + `is_followup_default` tinyint(1) NOT NULL DEFAULT '0', + `is_mail_default` tinyint(1) NOT NULL DEFAULT '0', + `is_mailfollowup_default` tinyint(1) NOT NULL DEFAULT '0', + `is_active` tinyint(1) NOT NULL DEFAULT '1', + `is_ticketheader` tinyint(1) NOT NULL DEFAULT '1', + `is_ticketfollowup` tinyint(1) NOT NULL DEFAULT '1', + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_helpdesk_default` (`is_helpdesk_default`), + KEY `is_followup_default` (`is_followup_default`), + KEY `is_mail_default` (`is_mail_default`), + KEY `is_mailfollowup_default` (`is_mailfollowup_default`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`), + KEY `is_active` (`is_active`), + KEY `is_ticketheader` (`is_ticketheader`), + KEY `is_ticketfollowup` (`is_ticketfollowup`) +) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_requesttypes` +-- + +LOCK TABLES `glpi_requesttypes` WRITE; +/*!40000 ALTER TABLE `glpi_requesttypes` DISABLE KEYS */; +INSERT INTO `glpi_requesttypes` VALUES (1,'Helpdesk',1,1,0,0,1,1,1,NULL,NULL,NULL),(2,'E-Mail',0,0,1,1,1,1,1,NULL,NULL,NULL),(3,'Phone',0,0,0,0,1,1,1,NULL,NULL,NULL),(4,'Direct',0,0,0,0,1,1,1,NULL,NULL,NULL),(5,'Written',0,0,0,0,1,1,1,NULL,NULL,NULL),(6,'Other',0,0,0,0,1,1,1,NULL,NULL,NULL); +/*!40000 ALTER TABLE `glpi_requesttypes` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_reservationitems` +-- + +DROP TABLE IF EXISTS `glpi_reservationitems`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_reservationitems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `items_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `is_active` tinyint(1) NOT NULL DEFAULT '1', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `is_active` (`is_active`), + KEY `item` (`itemtype`,`items_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `is_deleted` (`is_deleted`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_reservationitems` +-- + +LOCK TABLES `glpi_reservationitems` WRITE; +/*!40000 ALTER TABLE `glpi_reservationitems` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_reservationitems` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_reservations` +-- + +DROP TABLE IF EXISTS `glpi_reservations`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_reservations` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `reservationitems_id` int(11) NOT NULL DEFAULT '0', + `begin` datetime DEFAULT NULL, + `end` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `group` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `begin` (`begin`), + KEY `end` (`end`), + KEY `reservationitems_id` (`reservationitems_id`), + KEY `users_id` (`users_id`), + KEY `resagroup` (`reservationitems_id`,`group`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_reservations` +-- + +LOCK TABLES `glpi_reservations` WRITE; +/*!40000 ALTER TABLE `glpi_reservations` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_reservations` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_rssfeeds` +-- + +DROP TABLE IF EXISTS `glpi_rssfeeds`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_rssfeeds` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `url` text COLLATE utf8_unicode_ci, + `refresh_rate` int(11) NOT NULL DEFAULT '86400', + `max_items` int(11) NOT NULL DEFAULT '20', + `have_error` tinyint(1) NOT NULL DEFAULT '0', + `is_active` tinyint(1) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `users_id` (`users_id`), + KEY `date_mod` (`date_mod`), + KEY `have_error` (`have_error`), + KEY `is_active` (`is_active`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_rssfeeds` +-- + +LOCK TABLES `glpi_rssfeeds` WRITE; +/*!40000 ALTER TABLE `glpi_rssfeeds` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_rssfeeds` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_rssfeeds_users` +-- + +DROP TABLE IF EXISTS `glpi_rssfeeds_users`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_rssfeeds_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `rssfeeds_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `rssfeeds_id` (`rssfeeds_id`), + KEY `users_id` (`users_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_rssfeeds_users` +-- + +LOCK TABLES `glpi_rssfeeds_users` WRITE; +/*!40000 ALTER TABLE `glpi_rssfeeds_users` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_rssfeeds_users` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_ruleactions` +-- + +DROP TABLE IF EXISTS `glpi_ruleactions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_ruleactions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `rules_id` int(11) NOT NULL DEFAULT '0', + `action_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'VALUE IN (assign, regex_result, append_regex_result, affectbyip, affectbyfqdn, affectbymac)', + `field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `rules_id` (`rules_id`), + KEY `field_value` (`field`(50),`value`(50)) +) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_ruleactions` +-- + +LOCK TABLES `glpi_ruleactions` WRITE; +/*!40000 ALTER TABLE `glpi_ruleactions` DISABLE KEYS */; +INSERT INTO `glpi_ruleactions` VALUES (6,6,'fromitem','locations_id','1'),(2,2,'assign','entities_id','0'),(3,3,'assign','entities_id','0'),(4,4,'assign','_refuse_email_no_response','1'),(5,5,'assign','_refuse_email_no_response','1'),(7,7,'fromuser','locations_id','1'),(8,8,'assign','_import_category','1'); +/*!40000 ALTER TABLE `glpi_ruleactions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_rulecriterias` +-- + +DROP TABLE IF EXISTS `glpi_rulecriterias`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_rulecriterias` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `rules_id` int(11) NOT NULL DEFAULT '0', + `criteria` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `condition` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php PATTERN_* and REGEX_* constant', + `pattern` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `rules_id` (`rules_id`), + KEY `condition` (`condition`) +) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_rulecriterias` +-- + +LOCK TABLES `glpi_rulecriterias` WRITE; +/*!40000 ALTER TABLE `glpi_rulecriterias` DISABLE KEYS */; +INSERT INTO `glpi_rulecriterias` VALUES (9,6,'locations_id',9,'1'),(2,2,'uid',0,'*'),(3,2,'samaccountname',0,'*'),(4,2,'MAIL_EMAIL',0,'*'),(5,3,'subject',6,'/.*/'),(6,4,'x-auto-response-suppress',6,'/\\S+/'),(7,5,'auto-submitted',6,'/\\S+/'),(8,5,'auto-submitted',1,'no'),(10,6,'items_locations',8,'1'),(11,7,'locations_id',9,'1'),(12,7,'users_locations',8,'1'),(13,8,'name',0,'*'); +/*!40000 ALTER TABLE `glpi_rulecriterias` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_rulerightparameters` +-- + +DROP TABLE IF EXISTS `glpi_rulerightparameters`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_rulerightparameters` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci NOT NULL, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_rulerightparameters` +-- + +LOCK TABLES `glpi_rulerightparameters` WRITE; +/*!40000 ALTER TABLE `glpi_rulerightparameters` DISABLE KEYS */; +INSERT INTO `glpi_rulerightparameters` VALUES (1,'(LDAP)Organization','o','',NULL,NULL),(2,'(LDAP)Common Name','cn','',NULL,NULL),(3,'(LDAP)Department Number','departmentnumber','',NULL,NULL),(4,'(LDAP)Email','mail','',NULL,NULL),(5,'Object Class','objectclass','',NULL,NULL),(6,'(LDAP)User ID','uid','',NULL,NULL),(7,'(LDAP)Telephone Number','phone','',NULL,NULL),(8,'(LDAP)Employee Number','employeenumber','',NULL,NULL),(9,'(LDAP)Manager','manager','',NULL,NULL),(10,'(LDAP)DistinguishedName','dn','',NULL,NULL),(12,'(AD)User ID','samaccountname','',NULL,NULL),(13,'(LDAP) Title','title','',NULL,NULL),(14,'(LDAP) MemberOf','memberof','',NULL,NULL); +/*!40000 ALTER TABLE `glpi_rulerightparameters` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_rules` +-- + +DROP TABLE IF EXISTS `glpi_rules`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_rules` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `sub_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `ranking` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `description` text COLLATE utf8_unicode_ci, + `match` char(10) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'see define.php *_MATCHING constant', + `is_active` tinyint(1) NOT NULL DEFAULT '1', + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `uuid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `condition` int(11) NOT NULL DEFAULT '0', + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `is_active` (`is_active`), + KEY `sub_type` (`sub_type`), + KEY `date_mod` (`date_mod`), + KEY `is_recursive` (`is_recursive`), + KEY `condition` (`condition`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_rules` +-- + +LOCK TABLES `glpi_rules` WRITE; +/*!40000 ALTER TABLE `glpi_rules` DISABLE KEYS */; +INSERT INTO `glpi_rules` VALUES (2,0,'RuleRight',1,'Root','','OR',1,NULL,NULL,0,'500717c8-2bd6e957-53a12b5fd35745.02608131',0,NULL),(3,0,'RuleMailCollector',3,'Root','','OR',1,NULL,NULL,0,'500717c8-2bd6e957-53a12b5fd36404.54713349',0,NULL),(4,0,'RuleMailCollector',1,'Auto-Reply X-Auto-Response-Suppress','Exclude Auto-Reply emails using X-Auto-Response-Suppress header','AND',1,NULL,'2011-01-18 11:40:42',1,'500717c8-2bd6e957-53a12b5fd36d97.94503423',0,NULL),(5,0,'RuleMailCollector',2,'Auto-Reply Auto-Submitted','Exclude Auto-Reply emails using Auto-Submitted header','AND',1,NULL,'2011-01-18 11:40:42',1,'500717c8-2bd6e957-53a12b5fd376c2.87642651',0,NULL),(6,0,'RuleTicket',1,'Ticket location from item','','AND',0,'Automatically generated by GLPI 0.84',NULL,1,'500717c8-2bd6e957-53a12b5fd37f94.10365341',1,NULL),(7,0,'RuleTicket',2,'Ticket location from user','','AND',0,'Automatically generated by GLPI 0.84',NULL,1,'500717c8-2bd6e957-53a12b5fd38869.86002585',1,NULL),(8,0,'RuleSoftwareCategory',1,'Import category from inventory tool','','AND',0,'Automatically generated by GLPI 9.2',NULL,1,'500717c8-2bd6e957-53a12b5fd38869.86003425',1,NULL); +/*!40000 ALTER TABLE `glpi_rules` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_savedsearches` +-- + +DROP TABLE IF EXISTS `glpi_savedsearches`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_savedsearches` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `type` int(11) NOT NULL DEFAULT '0' COMMENT 'see SavedSearch:: constants', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `is_private` tinyint(1) NOT NULL DEFAULT '1', + `entities_id` int(11) NOT NULL DEFAULT '-1', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `path` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `query` text COLLATE utf8_unicode_ci, + `last_execution_time` int(11) DEFAULT NULL, + `do_count` tinyint(1) NOT NULL DEFAULT '2' COMMENT 'Do or do not count results on list display; see SavedSearch::COUNT_* constants', + `last_execution_date` datetime DEFAULT NULL, + `counter` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `type` (`type`), + KEY `itemtype` (`itemtype`), + KEY `entities_id` (`entities_id`), + KEY `users_id` (`users_id`), + KEY `is_private` (`is_private`), + KEY `is_recursive` (`is_recursive`), + KEY `last_execution_time` (`last_execution_time`), + KEY `last_execution_date` (`last_execution_date`), + KEY `do_count` (`do_count`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_savedsearches` +-- + +LOCK TABLES `glpi_savedsearches` WRITE; +/*!40000 ALTER TABLE `glpi_savedsearches` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_savedsearches` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_savedsearches_alerts` +-- + +DROP TABLE IF EXISTS `glpi_savedsearches_alerts`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_savedsearches_alerts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `savedsearches_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_active` tinyint(1) NOT NULL DEFAULT '0', + `operator` tinyint(1) NOT NULL, + `value` int(11) NOT NULL, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`savedsearches_id`,`operator`,`value`), + KEY `name` (`name`), + KEY `is_active` (`is_active`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_savedsearches_alerts` +-- + +LOCK TABLES `glpi_savedsearches_alerts` WRITE; +/*!40000 ALTER TABLE `glpi_savedsearches_alerts` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_savedsearches_alerts` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_savedsearches_users` +-- + +DROP TABLE IF EXISTS `glpi_savedsearches_users`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_savedsearches_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `users_id` int(11) NOT NULL DEFAULT '0', + `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL, + `savedsearches_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`users_id`,`itemtype`), + KEY `savedsearches_id` (`savedsearches_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_savedsearches_users` +-- + +LOCK TABLES `glpi_savedsearches_users` WRITE; +/*!40000 ALTER TABLE `glpi_savedsearches_users` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_savedsearches_users` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_slalevelactions` +-- + +DROP TABLE IF EXISTS `glpi_slalevelactions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_slalevelactions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `slalevels_id` int(11) NOT NULL DEFAULT '0', + `action_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `slalevels_id` (`slalevels_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_slalevelactions` +-- + +LOCK TABLES `glpi_slalevelactions` WRITE; +/*!40000 ALTER TABLE `glpi_slalevelactions` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_slalevelactions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_slalevelcriterias` +-- + +DROP TABLE IF EXISTS `glpi_slalevelcriterias`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_slalevelcriterias` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `slalevels_id` int(11) NOT NULL DEFAULT '0', + `criteria` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `condition` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php PATTERN_* and REGEX_* constant', + `pattern` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `slalevels_id` (`slalevels_id`), + KEY `condition` (`condition`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_slalevelcriterias` +-- + +LOCK TABLES `glpi_slalevelcriterias` WRITE; +/*!40000 ALTER TABLE `glpi_slalevelcriterias` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_slalevelcriterias` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_slalevels` +-- + +DROP TABLE IF EXISTS `glpi_slalevels`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_slalevels` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `slas_id` int(11) NOT NULL DEFAULT '0', + `execution_time` int(11) NOT NULL, + `is_active` tinyint(1) NOT NULL DEFAULT '1', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `match` char(10) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'see define.php *_MATCHING constant', + `uuid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_active` (`is_active`), + KEY `slas_id` (`slas_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_slalevels` +-- + +LOCK TABLES `glpi_slalevels` WRITE; +/*!40000 ALTER TABLE `glpi_slalevels` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_slalevels` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_slalevels_tickets` +-- + +DROP TABLE IF EXISTS `glpi_slalevels_tickets`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_slalevels_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `slalevels_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`tickets_id`,`slalevels_id`), + KEY `tickets_id` (`tickets_id`), + KEY `slalevels_id` (`slalevels_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_slalevels_tickets` +-- + +LOCK TABLES `glpi_slalevels_tickets` WRITE; +/*!40000 ALTER TABLE `glpi_slalevels_tickets` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_slalevels_tickets` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_slas` +-- + +DROP TABLE IF EXISTS `glpi_slas`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_slas` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `number_time` int(11) NOT NULL, + `calendars_id` int(11) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `definition_time` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `end_of_working_day` tinyint(1) NOT NULL DEFAULT '0', + `date_creation` datetime DEFAULT NULL, + `slms_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`), + KEY `calendars_id` (`calendars_id`), + KEY `slms_id` (`slms_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_slas` +-- + +LOCK TABLES `glpi_slas` WRITE; +/*!40000 ALTER TABLE `glpi_slas` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_slas` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_slms` +-- + +DROP TABLE IF EXISTS `glpi_slms`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_slms` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `calendars_id` int(11) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `calendars_id` (`calendars_id`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_slms` +-- + +LOCK TABLES `glpi_slms` WRITE; +/*!40000 ALTER TABLE `glpi_slms` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_slms` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_softwarecategories` +-- + +DROP TABLE IF EXISTS `glpi_softwarecategories`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_softwarecategories` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `softwarecategories_id` int(11) NOT NULL DEFAULT '0', + `completename` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `sons_cache` longtext COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `softwarecategories_id` (`softwarecategories_id`) +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_softwarecategories` +-- + +LOCK TABLES `glpi_softwarecategories` WRITE; +/*!40000 ALTER TABLE `glpi_softwarecategories` DISABLE KEYS */; +INSERT INTO `glpi_softwarecategories` VALUES (1,'FUSION',NULL,0,'FUSION',1,NULL,NULL); +/*!40000 ALTER TABLE `glpi_softwarecategories` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_softwarelicenses` +-- + +DROP TABLE IF EXISTS `glpi_softwarelicenses`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_softwarelicenses` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `softwares_id` int(11) NOT NULL DEFAULT '0', + `softwarelicenses_id` int(11) NOT NULL DEFAULT '0', + `completename` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `number` int(11) NOT NULL DEFAULT '0', + `softwarelicensetypes_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `serial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `otherserial` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `softwareversions_id_buy` int(11) NOT NULL DEFAULT '0', + `softwareversions_id_use` int(11) NOT NULL DEFAULT '0', + `expire` date DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `is_valid` tinyint(1) NOT NULL DEFAULT '1', + `date_creation` datetime DEFAULT NULL, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `locations_id` int(11) NOT NULL DEFAULT '0', + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `is_helpdesk_visible` tinyint(1) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `states_id` int(11) NOT NULL DEFAULT '0', + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `contact` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `contact_num` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_template` (`is_template`), + KEY `serial` (`serial`), + KEY `otherserial` (`otherserial`), + KEY `expire` (`expire`), + KEY `softwareversions_id_buy` (`softwareversions_id_buy`), + KEY `entities_id` (`entities_id`), + KEY `softwarelicensetypes_id` (`softwarelicensetypes_id`), + KEY `softwareversions_id_use` (`softwareversions_id_use`), + KEY `date_mod` (`date_mod`), + KEY `softwares_id_expire` (`softwares_id`,`expire`), + KEY `locations_id` (`locations_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `users_id` (`users_id`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `groups_id` (`groups_id`), + KEY `is_helpdesk_visible` (`is_helpdesk_visible`), + KEY `is_deleted` (`is_deleted`), + KEY `date_creation` (`date_creation`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `states_id` (`states_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_softwarelicenses` +-- + +LOCK TABLES `glpi_softwarelicenses` WRITE; +/*!40000 ALTER TABLE `glpi_softwarelicenses` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_softwarelicenses` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_softwarelicensetypes` +-- + +DROP TABLE IF EXISTS `glpi_softwarelicensetypes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_softwarelicensetypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + `softwarelicensetypes_id` int(11) NOT NULL DEFAULT '0', + `level` int(11) NOT NULL DEFAULT '0', + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `sons_cache` longtext COLLATE utf8_unicode_ci, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `completename` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`), + KEY `softwarelicensetypes_id` (`softwarelicensetypes_id`) +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_softwarelicensetypes` +-- + +LOCK TABLES `glpi_softwarelicensetypes` WRITE; +/*!40000 ALTER TABLE `glpi_softwarelicensetypes` DISABLE KEYS */; +INSERT INTO `glpi_softwarelicensetypes` VALUES (1,'OEM','',NULL,NULL,0,0,NULL,NULL,0,1,'OEM'); +/*!40000 ALTER TABLE `glpi_softwarelicensetypes` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_softwares` +-- + +DROP TABLE IF EXISTS `glpi_softwares`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_softwares` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `locations_id` int(11) NOT NULL DEFAULT '0', + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `is_update` tinyint(1) NOT NULL DEFAULT '0', + `softwares_id` int(11) NOT NULL DEFAULT '0', + `manufacturers_id` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `is_template` tinyint(1) NOT NULL DEFAULT '0', + `template_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `groups_id` int(11) NOT NULL DEFAULT '0', + `ticket_tco` decimal(20,4) DEFAULT '0.0000', + `is_helpdesk_visible` tinyint(1) NOT NULL DEFAULT '1', + `softwarecategories_id` int(11) NOT NULL DEFAULT '0', + `is_valid` tinyint(1) NOT NULL DEFAULT '1', + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`), + KEY `name` (`name`), + KEY `is_template` (`is_template`), + KEY `is_update` (`is_update`), + KEY `softwarecategories_id` (`softwarecategories_id`), + KEY `entities_id` (`entities_id`), + KEY `manufacturers_id` (`manufacturers_id`), + KEY `groups_id` (`groups_id`), + KEY `users_id` (`users_id`), + KEY `locations_id` (`locations_id`), + KEY `users_id_tech` (`users_id_tech`), + KEY `softwares_id` (`softwares_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_helpdesk_visible` (`is_helpdesk_visible`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_softwares` +-- + +LOCK TABLES `glpi_softwares` WRITE; +/*!40000 ALTER TABLE `glpi_softwares` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_softwares` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_softwareversions` +-- + +DROP TABLE IF EXISTS `glpi_softwareversions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_softwareversions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `softwares_id` int(11) NOT NULL DEFAULT '0', + `states_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `operatingsystems_id` int(11) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `softwares_id` (`softwares_id`), + KEY `states_id` (`states_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `operatingsystems_id` (`operatingsystems_id`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_softwareversions` +-- + +LOCK TABLES `glpi_softwareversions` WRITE; +/*!40000 ALTER TABLE `glpi_softwareversions` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_softwareversions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_solutiontemplates` +-- + +DROP TABLE IF EXISTS `glpi_solutiontemplates`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_solutiontemplates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `content` text COLLATE utf8_unicode_ci, + `solutiontypes_id` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_recursive` (`is_recursive`), + KEY `solutiontypes_id` (`solutiontypes_id`), + KEY `entities_id` (`entities_id`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_solutiontemplates` +-- + +LOCK TABLES `glpi_solutiontemplates` WRITE; +/*!40000 ALTER TABLE `glpi_solutiontemplates` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_solutiontemplates` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_solutiontypes` +-- + +DROP TABLE IF EXISTS `glpi_solutiontypes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_solutiontypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '1', + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_solutiontypes` +-- + +LOCK TABLES `glpi_solutiontypes` WRITE; +/*!40000 ALTER TABLE `glpi_solutiontypes` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_solutiontypes` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_ssovariables` +-- + +DROP TABLE IF EXISTS `glpi_ssovariables`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_ssovariables` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci NOT NULL, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_ssovariables` +-- + +LOCK TABLES `glpi_ssovariables` WRITE; +/*!40000 ALTER TABLE `glpi_ssovariables` DISABLE KEYS */; +INSERT INTO `glpi_ssovariables` VALUES (1,'HTTP_AUTH_USER','',NULL,NULL),(2,'REMOTE_USER','',NULL,NULL),(3,'PHP_AUTH_USER','',NULL,NULL),(4,'USERNAME','',NULL,NULL),(5,'REDIRECT_REMOTE_USER','',NULL,NULL),(6,'HTTP_REMOTE_USER','',NULL,NULL); +/*!40000 ALTER TABLE `glpi_ssovariables` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_states` +-- + +DROP TABLE IF EXISTS `glpi_states`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_states` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `states_id` int(11) NOT NULL DEFAULT '0', + `completename` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `sons_cache` longtext COLLATE utf8_unicode_ci, + `is_visible_computer` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_monitor` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_networkequipment` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_peripheral` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_phone` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_printer` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_softwareversion` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_softwarelicense` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_line` tinyint(1) NOT NULL DEFAULT '1', + `is_visible_certificate` tinyint(1) NOT NULL DEFAULT '1', + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`states_id`,`name`), + KEY `name` (`name`), + KEY `is_visible_computer` (`is_visible_computer`), + KEY `is_visible_monitor` (`is_visible_monitor`), + KEY `is_visible_networkequipment` (`is_visible_networkequipment`), + KEY `is_visible_peripheral` (`is_visible_peripheral`), + KEY `is_visible_phone` (`is_visible_phone`), + KEY `is_visible_printer` (`is_visible_printer`), + KEY `is_visible_softwareversion` (`is_visible_softwareversion`), + KEY `is_visible_softwarelicense` (`is_visible_softwarelicense`), + KEY `is_visible_line` (`is_visible_line`), + KEY `is_visible_certificate` (`is_visible_certificate`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_states` +-- + +LOCK TABLES `glpi_states` WRITE; +/*!40000 ALTER TABLE `glpi_states` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_states` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_suppliers` +-- + +DROP TABLE IF EXISTS `glpi_suppliers`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_suppliers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `suppliertypes_id` int(11) NOT NULL DEFAULT '0', + `address` text COLLATE utf8_unicode_ci, + `postcode` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `town` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `country` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `website` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phonenumber` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `fax` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `suppliertypes_id` (`suppliertypes_id`), + KEY `is_deleted` (`is_deleted`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_suppliers` +-- + +LOCK TABLES `glpi_suppliers` WRITE; +/*!40000 ALTER TABLE `glpi_suppliers` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_suppliers` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_suppliers_tickets` +-- + +DROP TABLE IF EXISTS `glpi_suppliers_tickets`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_suppliers_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `suppliers_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `use_notification` tinyint(1) NOT NULL DEFAULT '0', + `alternative_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`tickets_id`,`type`,`suppliers_id`), + KEY `group` (`suppliers_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_suppliers_tickets` +-- + +LOCK TABLES `glpi_suppliers_tickets` WRITE; +/*!40000 ALTER TABLE `glpi_suppliers_tickets` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_suppliers_tickets` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_suppliertypes` +-- + +DROP TABLE IF EXISTS `glpi_suppliertypes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_suppliertypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_suppliertypes` +-- + +LOCK TABLES `glpi_suppliertypes` WRITE; +/*!40000 ALTER TABLE `glpi_suppliertypes` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_suppliertypes` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_taskcategories` +-- + +DROP TABLE IF EXISTS `glpi_taskcategories`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_taskcategories` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `taskcategories_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `completename` text COLLATE utf8_unicode_ci, + `comment` text COLLATE utf8_unicode_ci, + `level` int(11) NOT NULL DEFAULT '0', + `ancestors_cache` longtext COLLATE utf8_unicode_ci, + `sons_cache` longtext COLLATE utf8_unicode_ci, + `is_active` tinyint(1) NOT NULL DEFAULT '1', + `is_helpdeskvisible` tinyint(1) NOT NULL DEFAULT '1', + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + `knowbaseitemcategories_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `taskcategories_id` (`taskcategories_id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `is_active` (`is_active`), + KEY `is_helpdeskvisible` (`is_helpdeskvisible`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`), + KEY `knowbaseitemcategories_id` (`knowbaseitemcategories_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_taskcategories` +-- + +LOCK TABLES `glpi_taskcategories` WRITE; +/*!40000 ALTER TABLE `glpi_taskcategories` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_taskcategories` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_tasktemplates` +-- + +DROP TABLE IF EXISTS `glpi_tasktemplates`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_tasktemplates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `content` text COLLATE utf8_unicode_ci, + `taskcategories_id` int(11) NOT NULL DEFAULT '0', + `actiontime` int(11) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + `state` int(11) NOT NULL DEFAULT '0', + `is_private` tinyint(1) NOT NULL DEFAULT '0', + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `is_recursive` (`is_recursive`), + KEY `taskcategories_id` (`taskcategories_id`), + KEY `entities_id` (`entities_id`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`), + KEY `is_private` (`is_private`), + KEY `users_id_tech` (`users_id_tech`), + KEY `groups_id_tech` (`groups_id_tech`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_tasktemplates` +-- + +LOCK TABLES `glpi_tasktemplates` WRITE; +/*!40000 ALTER TABLE `glpi_tasktemplates` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_tasktemplates` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_ticketcosts` +-- + +DROP TABLE IF EXISTS `glpi_ticketcosts`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_ticketcosts` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `begin_date` date DEFAULT NULL, + `end_date` date DEFAULT NULL, + `actiontime` int(11) NOT NULL DEFAULT '0', + `cost_time` decimal(20,4) NOT NULL DEFAULT '0.0000', + `cost_fixed` decimal(20,4) NOT NULL DEFAULT '0.0000', + `cost_material` decimal(20,4) NOT NULL DEFAULT '0.0000', + `budgets_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `tickets_id` (`tickets_id`), + KEY `begin_date` (`begin_date`), + KEY `end_date` (`end_date`), + KEY `entities_id` (`entities_id`), + KEY `budgets_id` (`budgets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_ticketcosts` +-- + +LOCK TABLES `glpi_ticketcosts` WRITE; +/*!40000 ALTER TABLE `glpi_ticketcosts` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_ticketcosts` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_ticketfollowups` +-- + +DROP TABLE IF EXISTS `glpi_ticketfollowups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_ticketfollowups` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `users_id_editor` int(11) NOT NULL DEFAULT '0', + `content` longtext COLLATE utf8_unicode_ci, + `is_private` tinyint(1) NOT NULL DEFAULT '0', + `requesttypes_id` int(11) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + `timeline_position` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `date` (`date`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`), + KEY `users_id` (`users_id`), + KEY `users_id_editor` (`users_id_editor`), + KEY `tickets_id` (`tickets_id`), + KEY `is_private` (`is_private`), + KEY `requesttypes_id` (`requesttypes_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_ticketfollowups` +-- + +LOCK TABLES `glpi_ticketfollowups` WRITE; +/*!40000 ALTER TABLE `glpi_ticketfollowups` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_ticketfollowups` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_ticketrecurrents` +-- + +DROP TABLE IF EXISTS `glpi_ticketrecurrents`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_ticketrecurrents` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `is_active` tinyint(1) NOT NULL DEFAULT '0', + `tickettemplates_id` int(11) NOT NULL DEFAULT '0', + `begin_date` datetime DEFAULT NULL, + `periodicity` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `create_before` int(11) NOT NULL DEFAULT '0', + `next_creation_date` datetime DEFAULT NULL, + `calendars_id` int(11) NOT NULL DEFAULT '0', + `end_date` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`), + KEY `is_active` (`is_active`), + KEY `tickettemplates_id` (`tickettemplates_id`), + KEY `next_creation_date` (`next_creation_date`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_ticketrecurrents` +-- + +LOCK TABLES `glpi_ticketrecurrents` WRITE; +/*!40000 ALTER TABLE `glpi_ticketrecurrents` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_ticketrecurrents` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_tickets` +-- + +DROP TABLE IF EXISTS `glpi_tickets`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `date` datetime DEFAULT NULL, + `closedate` datetime DEFAULT NULL, + `solvedate` datetime DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `users_id_lastupdater` int(11) NOT NULL DEFAULT '0', + `status` int(11) NOT NULL DEFAULT '1', + `users_id_recipient` int(11) NOT NULL DEFAULT '0', + `requesttypes_id` int(11) NOT NULL DEFAULT '0', + `content` longtext COLLATE utf8_unicode_ci, + `urgency` int(11) NOT NULL DEFAULT '1', + `impact` int(11) NOT NULL DEFAULT '1', + `priority` int(11) NOT NULL DEFAULT '1', + `itilcategories_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `solutiontypes_id` int(11) NOT NULL DEFAULT '0', + `solution` longtext COLLATE utf8_unicode_ci, + `global_validation` int(11) NOT NULL DEFAULT '1', + `slas_ttr_id` int(11) NOT NULL DEFAULT '0', + `slas_tto_id` int(11) NOT NULL DEFAULT '0', + `ttr_slalevels_id` int(11) NOT NULL DEFAULT '0', + `time_to_resolve` datetime DEFAULT NULL, + `time_to_own` datetime DEFAULT NULL, + `begin_waiting_date` datetime DEFAULT NULL, + `sla_waiting_duration` int(11) NOT NULL DEFAULT '0', + `ola_waiting_duration` int(11) NOT NULL DEFAULT '0', + `olas_tto_id` int(11) NOT NULL DEFAULT '0', + `olas_ttr_id` int(11) NOT NULL DEFAULT '0', + `ttr_olalevels_id` int(11) NOT NULL DEFAULT '0', + `internal_time_to_resolve` datetime DEFAULT NULL, + `internal_time_to_own` datetime DEFAULT NULL, + `waiting_duration` int(11) NOT NULL DEFAULT '0', + `close_delay_stat` int(11) NOT NULL DEFAULT '0', + `solve_delay_stat` int(11) NOT NULL DEFAULT '0', + `takeintoaccount_delay_stat` int(11) NOT NULL DEFAULT '0', + `actiontime` int(11) NOT NULL DEFAULT '0', + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `locations_id` int(11) NOT NULL DEFAULT '0', + `validation_percent` int(11) NOT NULL DEFAULT '0', + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date` (`date`), + KEY `closedate` (`closedate`), + KEY `status` (`status`), + KEY `priority` (`priority`), + KEY `request_type` (`requesttypes_id`), + KEY `date_mod` (`date_mod`), + KEY `entities_id` (`entities_id`), + KEY `users_id_recipient` (`users_id_recipient`), + KEY `solvedate` (`solvedate`), + KEY `urgency` (`urgency`), + KEY `impact` (`impact`), + KEY `global_validation` (`global_validation`), + KEY `slas_tto_id` (`slas_tto_id`), + KEY `slas_ttr_id` (`slas_ttr_id`), + KEY `time_to_resolve` (`time_to_resolve`), + KEY `time_to_own` (`time_to_own`), + KEY `olas_tto_id` (`olas_tto_id`), + KEY `olas_ttr_id` (`olas_ttr_id`), + KEY `ttr_slalevels_id` (`ttr_slalevels_id`), + KEY `internal_time_to_resolve` (`internal_time_to_resolve`), + KEY `internal_time_to_own` (`internal_time_to_own`), + KEY `users_id_lastupdater` (`users_id_lastupdater`), + KEY `type` (`type`), + KEY `solutiontypes_id` (`solutiontypes_id`), + KEY `itilcategories_id` (`itilcategories_id`), + KEY `is_deleted` (`is_deleted`), + KEY `name` (`name`), + KEY `locations_id` (`locations_id`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_tickets` +-- + +LOCK TABLES `glpi_tickets` WRITE; +/*!40000 ALTER TABLE `glpi_tickets` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_tickets` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_tickets_tickets` +-- + +DROP TABLE IF EXISTS `glpi_tickets_tickets`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_tickets_tickets` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id_1` int(11) NOT NULL DEFAULT '0', + `tickets_id_2` int(11) NOT NULL DEFAULT '0', + `link` int(11) NOT NULL DEFAULT '1', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`tickets_id_1`,`tickets_id_2`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_tickets_tickets` +-- + +LOCK TABLES `glpi_tickets_tickets` WRITE; +/*!40000 ALTER TABLE `glpi_tickets_tickets` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_tickets_tickets` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_tickets_users` +-- + +DROP TABLE IF EXISTS `glpi_tickets_users`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_tickets_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `use_notification` tinyint(1) NOT NULL DEFAULT '1', + `alternative_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`tickets_id`,`type`,`users_id`,`alternative_email`), + KEY `user` (`users_id`,`type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_tickets_users` +-- + +LOCK TABLES `glpi_tickets_users` WRITE; +/*!40000 ALTER TABLE `glpi_tickets_users` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_tickets_users` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_ticketsatisfactions` +-- + +DROP TABLE IF EXISTS `glpi_ticketsatisfactions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_ticketsatisfactions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `type` int(11) NOT NULL DEFAULT '1', + `date_begin` datetime DEFAULT NULL, + `date_answered` datetime DEFAULT NULL, + `satisfaction` int(11) DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + UNIQUE KEY `tickets_id` (`tickets_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_ticketsatisfactions` +-- + +LOCK TABLES `glpi_ticketsatisfactions` WRITE; +/*!40000 ALTER TABLE `glpi_ticketsatisfactions` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_ticketsatisfactions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_tickettasks` +-- + +DROP TABLE IF EXISTS `glpi_tickettasks`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_tickettasks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickets_id` int(11) NOT NULL DEFAULT '0', + `taskcategories_id` int(11) NOT NULL DEFAULT '0', + `date` datetime DEFAULT NULL, + `users_id` int(11) NOT NULL DEFAULT '0', + `users_id_editor` int(11) NOT NULL DEFAULT '0', + `content` longtext COLLATE utf8_unicode_ci, + `is_private` tinyint(1) NOT NULL DEFAULT '0', + `actiontime` int(11) NOT NULL DEFAULT '0', + `begin` datetime DEFAULT NULL, + `end` datetime DEFAULT NULL, + `state` int(11) NOT NULL DEFAULT '1', + `users_id_tech` int(11) NOT NULL DEFAULT '0', + `groups_id_tech` int(11) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + `tasktemplates_id` int(11) NOT NULL DEFAULT '0', + `timeline_position` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `date` (`date`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`), + KEY `users_id` (`users_id`), + KEY `users_id_editor` (`users_id_editor`), + KEY `tickets_id` (`tickets_id`), + KEY `is_private` (`is_private`), + KEY `taskcategories_id` (`taskcategories_id`), + KEY `state` (`state`), + KEY `users_id_tech` (`users_id_tech`), + KEY `groups_id_tech` (`groups_id_tech`), + KEY `begin` (`begin`), + KEY `end` (`end`), + KEY `tasktemplates_id` (`tasktemplates_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_tickettasks` +-- + +LOCK TABLES `glpi_tickettasks` WRITE; +/*!40000 ALTER TABLE `glpi_tickettasks` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_tickettasks` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_tickettemplatehiddenfields` +-- + +DROP TABLE IF EXISTS `glpi_tickettemplatehiddenfields`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_tickettemplatehiddenfields` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickettemplates_id` int(11) NOT NULL DEFAULT '0', + `num` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`tickettemplates_id`,`num`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_tickettemplatehiddenfields` +-- + +LOCK TABLES `glpi_tickettemplatehiddenfields` WRITE; +/*!40000 ALTER TABLE `glpi_tickettemplatehiddenfields` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_tickettemplatehiddenfields` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_tickettemplatemandatoryfields` +-- + +DROP TABLE IF EXISTS `glpi_tickettemplatemandatoryfields`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_tickettemplatemandatoryfields` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickettemplates_id` int(11) NOT NULL DEFAULT '0', + `num` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`tickettemplates_id`,`num`) +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_tickettemplatemandatoryfields` +-- + +LOCK TABLES `glpi_tickettemplatemandatoryfields` WRITE; +/*!40000 ALTER TABLE `glpi_tickettemplatemandatoryfields` DISABLE KEYS */; +INSERT INTO `glpi_tickettemplatemandatoryfields` VALUES (1,1,21); +/*!40000 ALTER TABLE `glpi_tickettemplatemandatoryfields` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_tickettemplatepredefinedfields` +-- + +DROP TABLE IF EXISTS `glpi_tickettemplatepredefinedfields`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_tickettemplatepredefinedfields` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tickettemplates_id` int(11) NOT NULL DEFAULT '0', + `num` int(11) NOT NULL DEFAULT '0', + `value` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `tickettemplates_id_id_num` (`tickettemplates_id`,`num`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_tickettemplatepredefinedfields` +-- + +LOCK TABLES `glpi_tickettemplatepredefinedfields` WRITE; +/*!40000 ALTER TABLE `glpi_tickettemplatepredefinedfields` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_tickettemplatepredefinedfields` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_tickettemplates` +-- + +DROP TABLE IF EXISTS `glpi_tickettemplates`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_tickettemplates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `comment` text COLLATE utf8_unicode_ci, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `is_recursive` (`is_recursive`) +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_tickettemplates` +-- + +LOCK TABLES `glpi_tickettemplates` WRITE; +/*!40000 ALTER TABLE `glpi_tickettemplates` DISABLE KEYS */; +INSERT INTO `glpi_tickettemplates` VALUES (1,'Default',0,1,NULL); +/*!40000 ALTER TABLE `glpi_tickettemplates` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_ticketvalidations` +-- + +DROP TABLE IF EXISTS `glpi_ticketvalidations`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_ticketvalidations` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `users_id` int(11) NOT NULL DEFAULT '0', + `tickets_id` int(11) NOT NULL DEFAULT '0', + `users_id_validate` int(11) NOT NULL DEFAULT '0', + `comment_submission` text COLLATE utf8_unicode_ci, + `comment_validation` text COLLATE utf8_unicode_ci, + `status` int(11) NOT NULL DEFAULT '2', + `submission_date` datetime DEFAULT NULL, + `validation_date` datetime DEFAULT NULL, + `timeline_position` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `users_id` (`users_id`), + KEY `users_id_validate` (`users_id_validate`), + KEY `tickets_id` (`tickets_id`), + KEY `submission_date` (`submission_date`), + KEY `validation_date` (`validation_date`), + KEY `status` (`status`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_ticketvalidations` +-- + +LOCK TABLES `glpi_ticketvalidations` WRITE; +/*!40000 ALTER TABLE `glpi_ticketvalidations` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_ticketvalidations` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_transfers` +-- + +DROP TABLE IF EXISTS `glpi_transfers`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_transfers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `keep_ticket` int(11) NOT NULL DEFAULT '0', + `keep_networklink` int(11) NOT NULL DEFAULT '0', + `keep_reservation` int(11) NOT NULL DEFAULT '0', + `keep_history` int(11) NOT NULL DEFAULT '0', + `keep_device` int(11) NOT NULL DEFAULT '0', + `keep_infocom` int(11) NOT NULL DEFAULT '0', + `keep_dc_monitor` int(11) NOT NULL DEFAULT '0', + `clean_dc_monitor` int(11) NOT NULL DEFAULT '0', + `keep_dc_phone` int(11) NOT NULL DEFAULT '0', + `clean_dc_phone` int(11) NOT NULL DEFAULT '0', + `keep_dc_peripheral` int(11) NOT NULL DEFAULT '0', + `clean_dc_peripheral` int(11) NOT NULL DEFAULT '0', + `keep_dc_printer` int(11) NOT NULL DEFAULT '0', + `clean_dc_printer` int(11) NOT NULL DEFAULT '0', + `keep_supplier` int(11) NOT NULL DEFAULT '0', + `clean_supplier` int(11) NOT NULL DEFAULT '0', + `keep_contact` int(11) NOT NULL DEFAULT '0', + `clean_contact` int(11) NOT NULL DEFAULT '0', + `keep_contract` int(11) NOT NULL DEFAULT '0', + `clean_contract` int(11) NOT NULL DEFAULT '0', + `keep_software` int(11) NOT NULL DEFAULT '0', + `clean_software` int(11) NOT NULL DEFAULT '0', + `keep_document` int(11) NOT NULL DEFAULT '0', + `clean_document` int(11) NOT NULL DEFAULT '0', + `keep_cartridgeitem` int(11) NOT NULL DEFAULT '0', + `clean_cartridgeitem` int(11) NOT NULL DEFAULT '0', + `keep_cartridge` int(11) NOT NULL DEFAULT '0', + `keep_consumable` int(11) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `keep_disk` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`) +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_transfers` +-- + +LOCK TABLES `glpi_transfers` WRITE; +/*!40000 ALTER TABLE `glpi_transfers` DISABLE KEYS */; +INSERT INTO `glpi_transfers` VALUES (1,'complete',2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,NULL,NULL,1); +/*!40000 ALTER TABLE `glpi_transfers` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_usercategories` +-- + +DROP TABLE IF EXISTS `glpi_usercategories`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_usercategories` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_usercategories` +-- + +LOCK TABLES `glpi_usercategories` WRITE; +/*!40000 ALTER TABLE `glpi_usercategories` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_usercategories` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_useremails` +-- + +DROP TABLE IF EXISTS `glpi_useremails`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_useremails` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `users_id` int(11) NOT NULL DEFAULT '0', + `is_default` tinyint(1) NOT NULL DEFAULT '0', + `is_dynamic` tinyint(1) NOT NULL DEFAULT '0', + `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`users_id`,`email`), + KEY `email` (`email`), + KEY `is_default` (`is_default`), + KEY `is_dynamic` (`is_dynamic`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_useremails` +-- + +LOCK TABLES `glpi_useremails` WRITE; +/*!40000 ALTER TABLE `glpi_useremails` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_useremails` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_users` +-- + +DROP TABLE IF EXISTS `glpi_users`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phone` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `phone2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `mobile` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `realname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `firstname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `locations_id` int(11) NOT NULL DEFAULT '0', + `language` char(10) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'see define.php CFG_GLPI[language] array', + `use_mode` int(11) NOT NULL DEFAULT '0', + `list_limit` int(11) DEFAULT NULL, + `is_active` tinyint(1) NOT NULL DEFAULT '1', + `comment` text COLLATE utf8_unicode_ci, + `auths_id` int(11) NOT NULL DEFAULT '0', + `authtype` int(11) NOT NULL DEFAULT '0', + `last_login` datetime DEFAULT NULL, + `date_mod` datetime DEFAULT NULL, + `date_sync` datetime DEFAULT NULL, + `is_deleted` tinyint(1) NOT NULL DEFAULT '0', + `profiles_id` int(11) NOT NULL DEFAULT '0', + `entities_id` int(11) NOT NULL DEFAULT '0', + `usertitles_id` int(11) NOT NULL DEFAULT '0', + `usercategories_id` int(11) NOT NULL DEFAULT '0', + `date_format` int(11) DEFAULT NULL, + `number_format` int(11) DEFAULT NULL, + `names_format` int(11) DEFAULT NULL, + `csv_delimiter` char(1) COLLATE utf8_unicode_ci DEFAULT NULL, + `is_ids_visible` tinyint(1) DEFAULT NULL, + `use_flat_dropdowntree` tinyint(1) DEFAULT NULL, + `show_jobs_at_login` tinyint(1) DEFAULT NULL, + `priority_1` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority_2` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority_3` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority_4` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority_5` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `priority_6` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `followup_private` tinyint(1) DEFAULT NULL, + `task_private` tinyint(1) DEFAULT NULL, + `default_requesttypes_id` int(11) DEFAULT NULL, + `password_forget_token` char(40) COLLATE utf8_unicode_ci DEFAULT NULL, + `password_forget_token_date` datetime DEFAULT NULL, + `user_dn` text COLLATE utf8_unicode_ci, + `registration_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `show_count_on_tabs` tinyint(1) DEFAULT NULL, + `refresh_ticket_list` int(11) DEFAULT NULL, + `set_default_tech` tinyint(1) DEFAULT NULL, + `personal_token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `personal_token_date` datetime DEFAULT NULL, + `api_token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `api_token_date` datetime DEFAULT NULL, + `display_count_on_home` int(11) DEFAULT NULL, + `notification_to_myself` tinyint(1) DEFAULT NULL, + `duedateok_color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `duedatewarning_color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `duedatecritical_color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `duedatewarning_less` int(11) DEFAULT NULL, + `duedatecritical_less` int(11) DEFAULT NULL, + `duedatewarning_unit` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `duedatecritical_unit` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `display_options` text COLLATE utf8_unicode_ci, + `is_deleted_ldap` tinyint(1) NOT NULL DEFAULT '0', + `pdffont` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `picture` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `begin_date` datetime DEFAULT NULL, + `end_date` datetime DEFAULT NULL, + `keep_devices_when_purging_item` tinyint(1) DEFAULT NULL, + `privatebookmarkorder` longtext COLLATE utf8_unicode_ci, + `backcreated` tinyint(1) DEFAULT NULL, + `task_state` int(11) DEFAULT NULL, + `layout` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `palette` char(20) COLLATE utf8_unicode_ci DEFAULT NULL, + `ticket_timeline` tinyint(1) DEFAULT NULL, + `ticket_timeline_keep_replaced_tabs` tinyint(1) DEFAULT NULL, + `set_default_requester` tinyint(1) DEFAULT NULL, + `lock_autolock_mode` tinyint(1) DEFAULT NULL, + `lock_directunlock_notification` tinyint(1) DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + `highcontrast_css` tinyint(1) DEFAULT '0', + `plannings` text COLLATE utf8_unicode_ci, + `sync_field` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `unicity` (`name`), + KEY `firstname` (`firstname`), + KEY `realname` (`realname`), + KEY `entities_id` (`entities_id`), + KEY `profiles_id` (`profiles_id`), + KEY `locations_id` (`locations_id`), + KEY `usertitles_id` (`usertitles_id`), + KEY `usercategories_id` (`usercategories_id`), + KEY `is_deleted` (`is_deleted`), + KEY `is_active` (`is_active`), + KEY `date_mod` (`date_mod`), + KEY `authitem` (`authtype`,`auths_id`), + KEY `is_deleted_ldap` (`is_deleted_ldap`), + KEY `date_creation` (`date_creation`), + KEY `begin_date` (`begin_date`), + KEY `end_date` (`end_date`), + KEY `sync_field` (`sync_field`) +) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_users` +-- + +LOCK TABLES `glpi_users` WRITE; +/*!40000 ALTER TABLE `glpi_users` DISABLE KEYS */; +INSERT INTO `glpi_users` VALUES (2,'glpi','$2y$10$rXXzbc2ShaiCldwkw4AZL.n.9QSH7c0c9XJAyyjrbL9BwmWditAYm','','','','',NULL,0,NULL,0,20,1,NULL,0,1,'2017-11-03 10:04:13','2017-11-03 10:08:41',NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,'zFBJcq7aM9NJ3vbPoOpCm0usdYwTn1XdgxXNGc1S','2017-11-03 10:08:41','LsygGkYIST2mSCvRsQrWDufjRnNJRSXl4dOx60gz','2017-11-03 10:08:41',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL),(3,'post-only','$2y$10$dTMar1F3ef5X/H1IjX9gYOjQWBR1K4bERGf4/oTPxFtJE/c3vXILm','','','','',NULL,0,NULL,0,20,1,NULL,0,0,NULL,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',NULL),(4,'tech','$2y$10$.xEgErizkp6Az0z.DHyoeOoenuh0RcsX4JapBk2JMD6VI17KtB1lO','','','','',NULL,0,NULL,0,20,1,NULL,0,0,NULL,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',NULL),(5,'normal','$2y$10$Z6doq4zVHkSPZFbPeXTCluN1Q/r0ryZ3ZsSJncJqkN3.8cRiN0NV.','','','','',NULL,0,NULL,0,20,1,NULL,0,0,NULL,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,'',NULL); +/*!40000 ALTER TABLE `glpi_users` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_usertitles` +-- + +DROP TABLE IF EXISTS `glpi_usertitles`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_usertitles` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_usertitles` +-- + +LOCK TABLES `glpi_usertitles` WRITE; +/*!40000 ALTER TABLE `glpi_usertitles` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_usertitles` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_virtualmachinestates` +-- + +DROP TABLE IF EXISTS `glpi_virtualmachinestates`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_virtualmachinestates` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `comment` text COLLATE utf8_unicode_ci NOT NULL, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_virtualmachinestates` +-- + +LOCK TABLES `glpi_virtualmachinestates` WRITE; +/*!40000 ALTER TABLE `glpi_virtualmachinestates` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_virtualmachinestates` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_virtualmachinesystems` +-- + +DROP TABLE IF EXISTS `glpi_virtualmachinesystems`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_virtualmachinesystems` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `comment` text COLLATE utf8_unicode_ci NOT NULL, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_virtualmachinesystems` +-- + +LOCK TABLES `glpi_virtualmachinesystems` WRITE; +/*!40000 ALTER TABLE `glpi_virtualmachinesystems` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_virtualmachinesystems` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_virtualmachinetypes` +-- + +DROP TABLE IF EXISTS `glpi_virtualmachinetypes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_virtualmachinetypes` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', + `comment` text COLLATE utf8_unicode_ci NOT NULL, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_virtualmachinetypes` +-- + +LOCK TABLES `glpi_virtualmachinetypes` WRITE; +/*!40000 ALTER TABLE `glpi_virtualmachinetypes` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_virtualmachinetypes` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_vlans` +-- + +DROP TABLE IF EXISTS `glpi_vlans`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_vlans` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `comment` text COLLATE utf8_unicode_ci, + `tag` int(11) NOT NULL DEFAULT '0', + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `name` (`name`), + KEY `entities_id` (`entities_id`), + KEY `tag` (`tag`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_vlans` +-- + +LOCK TABLES `glpi_vlans` WRITE; +/*!40000 ALTER TABLE `glpi_vlans` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_vlans` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `glpi_wifinetworks` +-- + +DROP TABLE IF EXISTS `glpi_wifinetworks`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `glpi_wifinetworks` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entities_id` int(11) NOT NULL DEFAULT '0', + `is_recursive` tinyint(1) NOT NULL DEFAULT '0', + `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `essid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, + `mode` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'ad-hoc, access_point', + `comment` text COLLATE utf8_unicode_ci, + `date_mod` datetime DEFAULT NULL, + `date_creation` datetime DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `entities_id` (`entities_id`), + KEY `essid` (`essid`), + KEY `name` (`name`), + KEY `date_mod` (`date_mod`), + KEY `date_creation` (`date_creation`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `glpi_wifinetworks` +-- + +LOCK TABLES `glpi_wifinetworks` WRITE; +/*!40000 ALTER TABLE `glpi_wifinetworks` DISABLE KEYS */; +/*!40000 ALTER TABLE `glpi_wifinetworks` ENABLE KEYS */; +UNLOCK TABLES; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +-- Dump completed on 2017-11-03 10:49:17 diff --git a/requirements-dev.txt b/requirements-dev.txt index 8589d43..05a5ea8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,4 @@ +pytest pep8 codecov python-dotenv diff --git a/tests/env b/tests/env new file mode 100644 index 0000000..19f5997 --- /dev/null +++ b/tests/env @@ -0,0 +1 @@ +export VCAP_SERVICES='{"glpi": [{"name": "glpi-dev", "credentials": {"url": "http://localhost/glpi/apirest.php", "username": "glpi", "password": "glpi", "app_token": "Vim5nGTZdQJpI50WknNAC0akaB8VmipealVDw5xp" }}]}' diff --git a/tests/env.sample b/tests/env.sample deleted file mode 100644 index 5812c87..0000000 --- a/tests/env.sample +++ /dev/null @@ -1 +0,0 @@ -VCAP_SERVICES='{"glpi": [{"name": "glpi-dev", "credentials": {"url": "http://glpi.example.com/apirest.php", "username": "glpi", "password": "glpi", "app_token": "4doczd0ws04hcfvtj3q4he18a9sdad8as08da09s" }}]}' diff --git a/tox.ini b/tox.ini index 3d7b745..c313b0d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,31 @@ [tox] -envlist = py{27,34,35,36}, flake8 -skip_missing_interpreters = true +envlist = py{27,34,35,36},flake8 [testenv] -deps = pytest - python-dotenv -commands = py.test {posargs} -passenv = VCAP_SERVICES +commands = py.test -v +deps = -r{toxinidir}/requirements-dev.txt +passenv = + TRAVIS + TRAVIS_BRANCH + TRAVIS_JOB_ID + VCAP_SERVICES [testenv:flake8] +commands = flake8 . deps = flake8 -commands = flake8 . \ No newline at end of file + +[travis] +python = + 3.6: py36, flake8 + +[pytest] +addopts = --ignore=setup.py +python_files = *.py +python_functions = test_ + +[flake8] +exclude = + .git, + .tox, + build, + dist