updating env example file
This commit is contained in:
@ -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');
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user