diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-09-20 15:32:07 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-09-20 19:39:21 +0800 |
commit | 9ab582314852fc6c3f098387ce3a610ea2db0438 (patch) | |
tree | 237bfbb2d15c643b8853b4b5e3213c812cf65370 /.codeclimate.yml | |
parent | 7cd2d52829a602606f0b0e9e41498a9bad6fae92 (diff) | |
download | gitlab-ce-use-1-for-mysql-default-timestamp.tar.gz |
Use now() as default MySQL timestampuse-1-for-mysql-default-timestamp
Because under some configuration and versions, 0 is invalid. See:
https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_zero_date
This was discussed in:
* https://gitlab.com/gitlab-org/gitlab-ce/issues/36405#note_40120201
* https://gitlab.com/gitlab-org/gitlab-ce/issues/35376#note_40588738
* https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12841#note_40829586
Diffstat (limited to '.codeclimate.yml')
0 files changed, 0 insertions, 0 deletions