Fix database migrations and seeding
This commit is contained in:
parent
9cc53f9cbf
commit
322f2eabf9
2 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
use MStaack\LaravelPostgis\Schema\Blueprint;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreatePlacesTable extends Migration
|
||||
|
@ -17,8 +17,8 @@ class CreatePlacesTable extends Migration
|
|||
$table->string('name');
|
||||
$table->string('slug')->unique();
|
||||
$table->text('description')->nullable();
|
||||
$table->point('location');
|
||||
$table->polygon('polygon')->nullable();
|
||||
$table->text('location');
|
||||
$table->text('polygon')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue