@@ -6,31 +6,31 @@ |
||
| 6 | 6 | |
| 7 | 7 | class CreateCity extends Migration |
| 8 | 8 | { |
| 9 | - /** |
|
| 10 | - * Run the migrations. |
|
| 11 | - * |
|
| 12 | - * @return void |
|
| 13 | - */ |
|
| 14 | - public function up() |
|
| 15 | - { |
|
| 16 | - Schema::create('ro_city', function (Blueprint $table) { |
|
| 17 | - $table->string('city_id', 20)->primary(); |
|
| 18 | - $table->string('province_id', 20); |
|
| 19 | - $table->string('province', 120)->nullable(); |
|
| 20 | - $table->string('type', 60)->nullable(); |
|
| 21 | - $table->string('city_name', 128)->nullable(); |
|
| 22 | - $table->string('postal_code', 15)->nullable(); |
|
| 23 | - $table->timestamps(); |
|
| 24 | - }); |
|
| 25 | - } |
|
| 9 | + /** |
|
| 10 | + * Run the migrations. |
|
| 11 | + * |
|
| 12 | + * @return void |
|
| 13 | + */ |
|
| 14 | + public function up() |
|
| 15 | + { |
|
| 16 | + Schema::create('ro_city', function (Blueprint $table) { |
|
| 17 | + $table->string('city_id', 20)->primary(); |
|
| 18 | + $table->string('province_id', 20); |
|
| 19 | + $table->string('province', 120)->nullable(); |
|
| 20 | + $table->string('type', 60)->nullable(); |
|
| 21 | + $table->string('city_name', 128)->nullable(); |
|
| 22 | + $table->string('postal_code', 15)->nullable(); |
|
| 23 | + $table->timestamps(); |
|
| 24 | + }); |
|
| 25 | + } |
|
| 26 | 26 | |
| 27 | - /** |
|
| 28 | - * Reverse the migrations. |
|
| 29 | - * |
|
| 30 | - * @return void |
|
| 31 | - */ |
|
| 32 | - public function down() |
|
| 33 | - { |
|
| 34 | - Schema::dropIfExists('ro_city'); |
|
| 35 | - } |
|
| 27 | + /** |
|
| 28 | + * Reverse the migrations. |
|
| 29 | + * |
|
| 30 | + * @return void |
|
| 31 | + */ |
|
| 32 | + public function down() |
|
| 33 | + { |
|
| 34 | + Schema::dropIfExists('ro_city'); |
|
| 35 | + } |
|
| 36 | 36 | } |