This commit is contained in:
Benjamin Takats
2023-01-28 21:48:20 +01:00
parent b9f3f0ba7b
commit 9f153e7630
23 changed files with 441 additions and 19 deletions

View File

@@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
/**
* Run the migrations.
* @return void
*/
public function up()
{
Schema::table('cities', function (Blueprint $table) {
$table->json('osm_relation')
->nullable();
$table->json('simplified_geojson')
->nullable();
$table->unsignedBigInteger('population')
->nullable();
$table->string('population_date')
->nullable();
});
}
/**
* Reverse the migrations.
* @return void
*/
public function down()
{
Schema::table('cities', function (Blueprint $table) {
//
});
}
};