From 44df9e8b54e304caeca2b0da752d6b2ce61405c5 Mon Sep 17 00:00:00 2001 From: Luca Longo Date: Mon, 23 Sep 2024 12:07:15 +0200 Subject: [PATCH] Update create_addressable_table.php.stub --- database/migrations/create_addressable_table.php.stub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/create_addressable_table.php.stub b/database/migrations/create_addressable_table.php.stub index 1994f87..4a3ef2f 100644 --- a/database/migrations/create_addressable_table.php.stub +++ b/database/migrations/create_addressable_table.php.stub @@ -25,7 +25,7 @@ return new class extends Migration $table->string('city')->nullable(); $table->string('state')->nullable(); $table->string('country', 4)->nullable(); - $table->geography('coordinates', 'point')->nullable(); + $table->geography('coordinates', 'point', config('addressable.srid'))->nullable(); $table->timestamps(); });