]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Set default value of datetime columns to CURRENT_TIMESTAMP
authorDiogo Cordeiro <diogo@fc.up.pt>
Mon, 15 Apr 2019 23:43:17 +0000 (00:43 +0100)
committerDiogo Cordeiro <diogo@fc.up.pt>
Mon, 15 Apr 2019 23:43:17 +0000 (00:43 +0100)
commitf89c052cf8484d050ebc7339210dde4b08ded220
tree15deaa2122ae7c49d2df8a17340541b4edb9470c
parent38f2ecefacd501cd5ce9c5ce0bacf2a93968e358
Set default value of datetime columns to CURRENT_TIMESTAMP
This resolves an issue with MySQL 5.7 where the default SQL_MODE is set to disallow zero dates (i.e. '0000-00-00 00:00:00')
Fixed thanks to Francis and Normandy from postActiv.
db/site.sql
extlib/DB/mysqli.php
lib/mysqlschema.php