Arkania/ArkCORE-NG

Invalid Default Value for LastLogin

Opened this issue · 0 comments

/base/auth.sql
line 27
last_login timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',

This is an invalid default type for column type "timestamp". The correct default value for MySQL 5.5 for column type "timestamp" should be "CURRENT_TIMESTAMP" and for MySQL 5.6+ "CURRENT_TIMESTAMP" is the default value for both "timestamp" and "datetime"