Skip to content

Commit 79d47ce

Browse files
committed
fix default value for newer mysql versions
close #17
1 parent ff3abc5 commit 79d47ce

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

UserProfilesPlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public function hookInstall()
4949
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
5050
`type_id` int(10) unsigned NOT NULL ,
5151
`owner_id` int(10) unsigned NOT NULL ,
52-
`added` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
53-
`modified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
52+
`added` timestamp NOT NULL DEFAULT '2000-01-01 00:00:00',
53+
`modified` timestamp NOT NULL DEFAULT '2000-01-01 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
5454
`public` tinyint(1) NOT NULL,
5555
PRIMARY KEY (`id`)
5656
) ENGINE=MyISAM DEFAULT CHARSET=utf8;";

plugin.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ omeka_minimum_version="2.0"
77
omeka_target_version="2.0.2"
88
support_link="http://omeka.org/forums/forum/plugins"
99
license="GPLv3"
10-
version="1.1"
10+
version="1.1.1"
1111
required_plugins="RecordRelations"
1212
optional_plugins="GuestUser"
1313
require_once=1

0 commit comments

Comments
 (0)