Browse Source

delete database file

xielin 6 years ago
parent
commit
ce419ee191

+ 0 - 32
database/migrations/2019_04_23_064937_create_table_config_store_type.php

@@ -1,32 +0,0 @@
-<?php
-
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class CreateTableConfigStoreType extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::create('config_store_type', function (Blueprint $table) {
-            $table->bigIncrements('id');
-            $table->string('name',20)->nullable();  //储存方式:常温/冷冻/冷藏
-            $table->timestamps();
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::dropIfExists('config_store_type');
-    }
-}

+ 0 - 35
database/migrations/2019_04_23_071015_create_table_config_province.php

@@ -1,35 +0,0 @@
-<?php
-
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class CreateTableConfigProvince extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::create('config_province', function (Blueprint $table) {
-            $table->bigIncrements('id');
-            $table->string('name',30);  //名称
-            $table->integer('parent_id');//父级ID
-            $table->integer('level');//级别
-            $table->tinyInteger('sort');//排序
-            $table->timestamps();
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::dropIfExists('config_province');
-    }
-}

+ 0 - 38
database/migrations/2019_04_23_072002_create_table_config_city_management.php

@@ -1,38 +0,0 @@
-<?php
-
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class CreateTableConfigCityManagement extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::create('config_city_management', function (Blueprint $table) {
-            $table->bigIncrements('id');
-            $table->integer('province_id');//省份ID
-            $table->integer('city_id');//城市ID
-            $table->string('province_name',20);//省份名称
-            $table->string('city_name',30);//城市名称
-            $table->tinyInteger('express_type')->default(0);//快递方式:0.全部;1.自提;2.快递
-            $table->tinyInteger('status')->default(1);        //状态: 0.禁用 1.启用
-            $table->timestamps();
-            $table->softDeletes();
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::dropIfExists('config_city_management');
-    }
-}

+ 0 - 45
database/migrations/2019_04_23_072817_create_table_config_pickup_node.php

@@ -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');     //城市ID
-            $table->integer('pickup_group_id');     //分组ID
-            $table->integer('store_ids');     //储存方式ID
-            $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);  // 接货方式:0.信任交付;1.手动确认接货
-            $table->tinyInteger('status')->default(1);        //状态: 0.禁用;1.启用
-            $table->timestamps();
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::dropIfExists('config_pickup_node');
-    }
-}

+ 0 - 32
database/migrations/2019_04_23_074545_create_table_config_pickup_group.php

@@ -1,32 +0,0 @@
-<?php
-
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class CreateTableConfigPickupGroup extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::create('config_pickup_group', function (Blueprint $table) {
-            $table->bigIncrements('id');
-            $table->string('name',20)->nullable();   //名称
-            $table->timestamps();
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::dropIfExists('config_pickup_group');
-    }
-}

+ 0 - 32
database/migrations/2019_04_25_103653_update_config_pickup_node_table.php

@@ -1,32 +0,0 @@
-<?php
-
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class UpdateConfigPickupNodeTable extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::table('config_pickup_node', function (Blueprint $table) {
-            $table->integer('distance')->comment('距离');
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::table('config_pickup_node', function (Blueprint $table) {
-            $table->dropColumn(['distance']);
-        });
-    }
-}

+ 0 - 36
database/migrations/2019_04_25_143536_add_bjcity_id_config_province_table.php

@@ -1,36 +0,0 @@
-<?php
-
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class AddBjcityIdConfigProvinceTable extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::table('config_province', function (Blueprint $table) {
-            $table->renameColumn('name', 'area_name');
-            $table->renameColumn('id', 'bjcity_id',20)->comment('百度城市id');
-            $table->string('area_code',50)->nullable()->comment('地区编码');
-            $table->string('city_code',50)->comment('城市编码');
-            $table->string('center',50)->comment('城市中心点(即:经纬度坐标)');
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::table('config_province', function (Blueprint $table) {
-            $table->dropColumn('bjcity_id','area_name','area_code','city_code','center');
-        });
-    }
-}

+ 0 - 32
database/migrations/2019_04_26_034735_update_express_type_config_city_management_table.php

@@ -1,32 +0,0 @@
-<?php
-
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class UpdateExpressTypeConfigCityManagementTable extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::table('config_city_management', function (Blueprint $table) {
-            $table->string('express_type',50)->comment('快递方式')->change();
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::table('config_city_management', function (Blueprint $table) {
-            //
-        });
-    }
-}

+ 0 - 32
database/migrations/2019_04_26_085923_update_area_id_config_province_table.php

@@ -1,32 +0,0 @@
-<?php
-
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class UpdateAreaIdConfigProvinceTable extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::table('config_province', function (Blueprint $table) {
-            $table->renameColumn('bjcity_id', 'area_id');
-
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::table('config_province', function (Blueprint $table) {
-        });
-    }
-}

+ 0 - 32
database/migrations/2019_04_26_090540_add_bjcity_id_config_province_table.php

@@ -1,32 +0,0 @@
-<?php
-
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class AddBjcityIdConfigProvinceTable extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::table('config_province', function (Blueprint $table) {
-            $table->integer('bjcity_id')->nullable();
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::table('config_province', function (Blueprint $table) {
-            //
-        });
-    }
-}

+ 0 - 32
database/migrations/2019_04_29_024537_delete_distance_config_pickup_node_table.php

@@ -1,32 +0,0 @@
-<?php
-
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class DeleteDistanceConfigPickupNodeTable extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::table('config_pickup_node', function (Blueprint $table) {
-            $table->dropColumn('distance');
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::table('config_pickup_node', function (Blueprint $table) {
-            //
-        });
-    }
-}

+ 0 - 32
database/migrations/2019_04_30_095318_delete_city_code_to_config_province_table.php

@@ -1,32 +0,0 @@
-<?php
-
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class DeleteCityCodeToConfigProvinceTable extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::table('config_province', function (Blueprint $table) {
-            $table->dropColumn('city_code');
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::table('config_province', function (Blueprint $table) {
-            //
-        });
-    }
-}