I am using Laravel and I have migration with function:
public function up()
{
Schema::table('articles', function (Blueprint $table) {
$table->string('article_title',100)->change();
});
}
and when i do 'php artisan migrate' on my cmd i get error:
[Doctrine\DBAL\DBALException] Unknown database type enum requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it.
I don't even use enum! And I also don't have any other migrations that are not migrated and have enum.
The column itself does not have to be enum, but ANY column in the table cannot be enum.
Here is the line from the renaming columns section of the Laravel documentation:
Note: Renaming columns in a table with a enum column is not currently supported.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With