数据库迁移 5版本以上的怎么给字段加注释。方便产看理解

数据库迁移 5版本以上的怎么给字段加注释。方便产看理解
已邀请:
Schema::create('orders',function (Blueprint $table) {
$table->increments('id');
$table->string('session_id',50)->comment('SessionId');
$table->string('product_name',150)->comment('产品名称');
$table->string('name',50)->comment('收货人姓名');
$table->string('mobile',20)->comment('手机号码');
$table->string('telephone',50)->nullable()->comment('固定电话');
$table->string('address',50)->comment('详细地址');
$table->string('contact',50)->nullable()->comment('邮箱/QQ');
$table->tinyInteger('payment')->default(0)->unsigned()->comment('付款方式');
$table->tinyInteger('status')->default(0)->unsigned()->comment('订单状态')->index();
$table->text('message')->nullable()->comment('留言');
$table->timestamps();
});

要回复问题请先登录注册