]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 12 Jul 2018 06:21:32 +0000 (08:21 +0200)
commitf683335a2e73268dec6b3b02b47c50df43efafd6
tree141a373be654a7863fb66fb685f5d99a322ffa64
parentda0f449797ae366f4d588b52dfac371cb4d9d23d
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>
(cherry picked from commit ffd7fa3a068ff60976b1cf6f94fd2a48ae2d619c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/atomicupdate/bug_xxxxx_club_enrollments.date_created.sql
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl