Skip to content

Commit ba8b090

Browse files
committed
Fix installation and put version 9.5+1.1
1 parent 907a344 commit ba8b090

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

hook.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function plugin_timelineticket_install() {
8282
$query = "CREATE TABLE `glpi_plugin_timelineticket_states` (
8383
`id` int(11) NOT NULL AUTO_INCREMENT,
8484
`tickets_id` int(11) NOT NULL DEFAULT '0',
85-
`date` timestamp DEFAULT NULL,
85+
`date` timestamp NULL DEFAULT NULL,
8686
`old_status` varchar(255) DEFAULT NULL,
8787
`new_status` varchar(255) DEFAULT NULL,
8888
`delay` INT( 11 ) NULL,
@@ -96,7 +96,7 @@ function plugin_timelineticket_install() {
9696
$query = "CREATE TABLE `glpi_plugin_timelineticket_assigngroups` (
9797
`id` int(11) NOT NULL AUTO_INCREMENT,
9898
`tickets_id` int(11) NOT NULL DEFAULT '0',
99-
`date` timestamp DEFAULT NULL,
99+
`date` timestamp NULL DEFAULT NULL,
100100
`groups_id` varchar(255) DEFAULT NULL,
101101
`begin` INT( 11 ) NULL,
102102
`delay` INT( 11 ) NULL,
@@ -112,7 +112,7 @@ function plugin_timelineticket_install() {
112112
$query = "CREATE TABLE `glpi_plugin_timelineticket_assignusers` (
113113
`id` int(11) NOT NULL AUTO_INCREMENT,
114114
`tickets_id` int(11) NOT NULL DEFAULT '0',
115-
`date` timestamp DEFAULT NULL,
115+
`date` timestamp NULL DEFAULT NULL,
116116
`users_id` varchar(255) DEFAULT NULL,
117117
`begin` INT(11) NULL,
118118
`delay` INT(11) NULL,

install/mysql/plugin_timelineticket-empty.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ DROP TABLE IF EXISTS `glpi_plugin_timelineticket_states`;
44
CREATE TABLE `glpi_plugin_timelineticket_states` (
55
`id` int(11) NOT NULL AUTO_INCREMENT,
66
`tickets_id` int(11) NOT NULL DEFAULT '0',
7-
`date` timestamp DEFAULT NULL,
7+
`date` timestamp NULL DEFAULT NULL,
88
`old_status` varchar(255) DEFAULT NULL,
99
`new_status` varchar(255) DEFAULT NULL,
1010
`delay` int(11) DEFAULT NULL,
@@ -19,7 +19,7 @@ DROP TABLE IF EXISTS `glpi_plugin_timelineticket_assigngroups`;
1919
CREATE TABLE `glpi_plugin_timelineticket_assigngroups` (
2020
`id` int(11) NOT NULL AUTO_INCREMENT,
2121
`tickets_id` int(11) NOT NULL DEFAULT '0',
22-
`date` timestamp DEFAULT NULL,
22+
`date` timestamp NULL DEFAULT NULL,
2323
`groups_id` varchar(255) DEFAULT NULL,
2424
`begin` int(11) DEFAULT NULL,
2525
`delay` int(11) DEFAULT NULL,
@@ -34,7 +34,7 @@ DROP TABLE IF EXISTS `glpi_plugin_timelineticket_assignusers`;
3434
CREATE TABLE `glpi_plugin_timelineticket_assignusers` (
3535
`id` int(11) NOT NULL AUTO_INCREMENT,
3636
`tickets_id` int(11) NOT NULL DEFAULT '0',
37-
`date` timestamp DEFAULT NULL,
37+
`date` timestamp NULL DEFAULT NULL,
3838
`users_id` varchar(255) DEFAULT NULL,
3939
`begin` int(11) DEFAULT NULL,
4040
`delay` int(11) DEFAULT NULL,

setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
------------------------------------------------------------------------
3838
*/
3939

40-
define("PLUGIN_TIMELINETICKET_VERSION", "9.5+1.0");
40+
define("PLUGIN_TIMELINETICKET_VERSION", "9.5+1.1");
4141

4242
if (!defined("PLUGIN_TIMELINETICKET_DIR")) {
4343
define("PLUGIN_TIMELINETICKET_DIR", GLPI_ROOT . "/plugins/timelineticket");

timelineticket.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
<author>Xavier CAILLAUD</author>
3838
</authors>
3939
<versions>
40+
<version>
41+
<num>9.5+1.1</num>
42+
<compatibility>9.5</compatibility>
43+
</version>
4044
<version>
4145
<num>9.5+1.0</num>
4246
<compatibility>9.5</compatibility>

0 commit comments

Comments
 (0)