Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kkle1994 opened this issue Jun 12, 2019 · 0 comments
Open

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

kkle1994 opened this issue Jun 12, 2019 · 0 comments

Comments

@kkle1994
Copy link

错误提示:
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来构建的,求助。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant