-
Notifications
You must be signed in to change notification settings - Fork 575
Error on 21. Migration #1178
Comments
I did a fresh install three days ago and didn't hit the problem... What's your server setup? |
Server: 5.7.17-0ubuntu0.16.04.1 AFTER keyword does not support for CHANGE keyword. When i remove AFTER part. It was ok and worked. |
Fair enough. I'm glad to hear that it worked for you in the end! What's happening is that MySQL gives the option to reorder the columns, which is what that |
@msalihkarakasli What is your version of MySQL? |
@CraigChilds94 mysql Ver 14.14 Distrib 5.7.17, for Linux (x86_64) |
Got the same problem. You only removed the AFTER part in the migration and it worked? EDIT: Had to delete the AFTER part of the request in these migration files: |
Right. I also got the same problem for same migrations 21 and 61. This is enough; |
Summary
On first access of web page after installation, 21. migration throw an exception.
"Null value not allowed: 1138 Invalid use of NULL value"
ALTER TABLE
' . $table . '
CHANGEdate
date
datetime NOT NULL AFTERstatus
AFTER 'status' cause to problem.
Expected Behaviour
Actual Behaviour
Context details (if applicable)
The text was updated successfully, but these errors were encountered: