FlarumChina icon indicating copy to clipboard operation
FlarumChina copied to clipboard

遇到SQL问题,提示重命名列名的SQL文非法

Open kkle1994 opened this issue 5 years ago • 0 comments

错误提示: Something went wrong: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'notifications_read_time' (SQL: ALTER TABLE users CHANGE notification_read_time notifications_read_time DATETIME DEFAULT 'NULL')

查到对应的PHP代码可能在以下位置: 2015_09_22_030432_rename_notification_read_time.php

是用xampp来构建的,求助。

kkle1994 avatar Jun 12 '19 06:06 kkle1994