Skip to content

Commit

Permalink
Fixes eb4646e
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Jun 4, 2018
1 parent 4ed61b9 commit 8e6756f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function plugin_datainjection_install() {
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL,
`comment` text NULL,
`date_mod` datetime NOT NULL DEFAULT NOW,
`date_mod` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_creation` datetime DEFAULT NULL,
`filetype` varchar(255) NOT NULL default 'csv',
`itemtype` varchar(255) NOT NULL default '',
Expand Down Expand Up @@ -223,7 +223,7 @@ function plugin_datainjection_migration_251_252() {
'glpi_plugin_datainjection_models',
'date_mod',
'date_mod',
'datetime NOT NULL DEFAULT NOW'
'datetime NOT NULL DEFAULT CURRENT_TIMESTAMP'
);

$migration->executeMigration();
Expand Down

0 comments on commit 8e6756f

Please sign in to comment.