]> git.koha-community.org Git - koha.git/commit
Bug 20175: [sql_modes] (follow-up) Set a correct default value for club_enrollments...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 7 Feb 2018 14:58:02 +0000 (11:58 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Feb 2018 21:02:00 +0000 (18:02 -0300)
commitffd7fa3a068ff60976b1cf6f94fd2a48ae2d619c
tree9f54fac58895851623590f3946681693a018e68d
parent5a43228c547200e4b6d9f03fe25e98d124889226
Bug 20175: [sql_modes] (follow-up) Set a correct default value for club_enrollments.date_created

From comment 6:
"""
Can't recreate database, when creating table structure, I got:
there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT
or ON UPDATE clause

I am on mysql 5.5.59, which is still default in jessie, more timestamp
columns are possible from mysql 5.6.5:
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-5.html
"""

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/bug_xxxxx_club_enrollments.date_created.sql
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl