📜  laravel 迁移更改列顺序 - PHP 代码示例

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

代码示例2
public function up()
    {
        Schema::table('orders', function (Blueprint $table) {
            $table->string('price')->nullable()->after('quantity');
        });
    }