|
|
@@ -20,6 +20,14 @@ class CreateDeliveryTypesTable extends Migration
|
|
|
$table->softDeletes();
|
|
|
$table->timestamps();
|
|
|
});
|
|
|
+ $arr = ['自提','送货进仓','送货(不含上楼)','送货上楼','大件上楼'];
|
|
|
+ foreach ($arr as $v) {
|
|
|
+ \Illuminate\Support\Facades\DB::insert(
|
|
|
+ \Illuminate\Support\Facades\DB::raw("INSERT INTO delivery_types(name,status,created_at) VALUES(?,?,?)")
|
|
|
+ ,[ $v, '0', date("Y-m-d H:i:s")]
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
/**
|