wesley před 6 roky
rodič
revize
263b3d6355

+ 1 - 1
database/migrations/2018_07_12_020304_create_order_info_table.php

xqd
@@ -24,7 +24,7 @@ class CreateOrderInfoTable extends Migration
             $table->string('schedule_time')->comment('预约时间');
             $table->tinyInteger('status')->default(0)->comment('订单状态:0:未付款;1:已付款,未完成;2:已完成;3:已取消');
             $table->integer('user_id')->comment('用户id');
-            $table->string('comment',255)->comment('备注');
+            $table->string('comment',255)->nullable()->comment('备注');
 
             $table->softDeletes();
             $table->timestamps();