updating env example file

This commit is contained in:
2022-03-30 13:23:25 -06:00
parent f96e7eb0aa
commit 74055ea11b
20 changed files with 850 additions and 77 deletions

View File

@ -22,12 +22,13 @@ class CreateAddressesTable extends Migration
$table->string('state');
$table->string('postal_code'); // leave as string to accomodate 12345-6789 or Canada
$table->string('country')->default('United States');
$table->float('latitude', 12, 9)->index()->nullable();
$table->float('longitude', 12, 9)->index()->nullable();
$table->float('latitude', 12, 9)->nullable();
$table->float('longitude', 12, 9)->nullable();
$table->point('location')->nullable();
$table->timestamp('created_at')->useCurrent();
$table->timestamp('updated_at')->nullable()->useCurrentOnUpdate();
$table->index(['latitude', 'longitude']);
$table->spatialIndex('location');
});
}