|
@@ -1,45 +0,0 @@
|
|
|
-<?php
|
|
|
-
|
|
|
-use Illuminate\Support\Facades\Schema;
|
|
|
-use Illuminate\Database\Schema\Blueprint;
|
|
|
-use Illuminate\Database\Migrations\Migration;
|
|
|
-
|
|
|
-class CreateTableConfigPickupNode extends Migration
|
|
|
-{
|
|
|
-
|
|
|
- * Run the migrations.
|
|
|
- *
|
|
|
- * @return void
|
|
|
- */
|
|
|
- public function up()
|
|
|
- {
|
|
|
- Schema::create('config_pickup_node', function (Blueprint $table) {
|
|
|
- $table->bigIncrements('id');
|
|
|
- $table->integer('city_id');
|
|
|
- $table->integer('pickup_group_id');
|
|
|
- $table->integer('store_ids');
|
|
|
- $table->string('city_name',20);
|
|
|
- $table->string('name',20);
|
|
|
- $table->string('address',200);
|
|
|
- $table->string('longitude',100);
|
|
|
- $table->string('latitude',100);
|
|
|
- $table->string('pickup_code',50);
|
|
|
- $table->dateTime('work_time');
|
|
|
- $table->string('manager_name',50)->nullable();
|
|
|
- $table->string('manager_mobile',20);
|
|
|
- $table->tinyInteger('receive_type')->default(1);
|
|
|
- $table->tinyInteger('status')->default(1);
|
|
|
- $table->timestamps();
|
|
|
- });
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- * Reverse the migrations.
|
|
|
- *
|
|
|
- * @return void
|
|
|
- */
|
|
|
- public function down()
|
|
|
- {
|
|
|
- Schema::dropIfExists('config_pickup_node');
|
|
|
- }
|
|
|
-}
|