xielin 6 년 전
부모
커밋
174860e25b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      database/migrations/2019_04_23_071015_create_table_config_province.php

+ 1 - 1
database/migrations/2019_04_23_071015_create_table_config_province.php

@@ -18,7 +18,7 @@ class CreateTableConfigProvince extends Migration
             $table->string('area_name',30);  //名称
             $table->integer('parent_id');//父级ID
             $table->integer('level');//级别
-            $table->tinyInteger('sort');//排序
+            $table->tinyInteger('sort')->nullable();//排序
             $table->string('area_code',6)->nullable()->comment('地区编码');
             $table->string('center',50)->comment('城市中心点(即:经纬度坐标)');
             $table->integer('bjcity_id')->nullable()->comment('百度cityid');