📜  laravel 更改列类型 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:49.895000             🧑  作者: Mango

代码示例6
composer require doctrine/dbal

public function up()
{
    Schema::table('sometable', function (Blueprint $table) {
        $table->text('text')->change();
    });
}