4 months ago

Migration Issue Laravel 6

Posted 4 months ago by krishna8723

Before upgrading to laravel 6 there was no issue on migration. But now i am getting migration issue on this two line: $table->boolean('is_activated')->default(false); $table->enum('type', ['A','B'])->default('A');

default value is giving issue.

Here is the error message: 1 PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use

Please help.

Please sign in or create an account to participate in this conversation.