我正在使用Laravel,并且我有一个包含以下函数的迁移:
public function up()
{
Schema::table('articles', function (Blueprint $table) {
$table->string('article_title',100)->change();
});
}
当我在命令提示符中执行 'php artisan migrate' 命令时,出现错误:
[Doctrine\DBAL\DBALException] 请求未知的数据库类型enum,可能Doctrine\DBAL\Platforms\MySqlPlatform不支持它。
我甚至没有使用枚举!我也没有任何其他未迁移并带有枚举的迁移。