From 183a39920194c6d8a3ed519b55ea848d56b64514 Mon Sep 17 00:00:00 2001 From: Ercogx Date: Fri, 24 May 2024 23:02:34 +0300 Subject: [PATCH] Update the example of creating column points in the README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0bb5bb7..59b1385 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,10 @@ return new class extends Migration { { Schema::create('map_points', function (Blueprint $table) { $table->id(); - $table->point('point')->nullable(); // for Point type + + $table->point('point')->nullable(); // for Point type in Laravel 10 + $table->geography('point', 'point', 0)->nullable(); // for Point type in Laravel 11 + $table->string('point_string')->nullable(); // for String type $table->json('point_array')->nullable(); // for Array type $table->timestamps();