From 7d3cc0d2ff8029193633ad135d74c583bca9722c Mon Sep 17 00:00:00 2001 From: yurtesen Date: Sun, 17 Dec 2017 13:31:32 +0200 Subject: [PATCH] Increase cc2 to 200 char length and population to bigInteger --- .../2016_07_04_000030_create_geonames_geonames_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/database/migrations/2016_07_04_000030_create_geonames_geonames_table.php b/src/database/migrations/2016_07_04_000030_create_geonames_geonames_table.php index bde711d..9db1118 100644 --- a/src/database/migrations/2016_07_04_000030_create_geonames_geonames_table.php +++ b/src/database/migrations/2016_07_04_000030_create_geonames_geonames_table.php @@ -42,12 +42,12 @@ public function up() $table->char('feature_class', 1)->nullable(); $table->string('feature_code', 10)->nullable(); $table->char('country_code', 2); - $table->string('cc2', 60)->nullable(); + $table->string('cc2', 200)->nullable(); $table->string('admin1_code', 20)->nullable(); $table->string('admin2_code', 80)->nullable(); $table->string('admin3_code', 20)->nullable(); $table->string('admin4_code', 20)->nullable(); - $table->integer('population')->unsigned()->nullable(); + $table->bigInteger('population')->unsigned()->nullable(); $table->integer('elevation')->nullable(); $table->integer('dem')->nullable(); $table->string('timezone_id', 40)->index()->nullable();