zoom in country

This commit is contained in:
Benjamin Takats
2022-12-17 19:49:10 +01:00
parent c814c530c8
commit 2149b85da0
25 changed files with 248 additions and 162 deletions

View File

@@ -0,0 +1,32 @@
<?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('countries', function (Blueprint $table) {
$table->double('longitude')
->nullable();
$table->double('latitude')
->nullable();
});
}
/**
* Reverse the migrations.
* @return void
*/
public function down()
{
Schema::table('countries', function (Blueprint $table) {
//
});
}
};