2 use Migrations\AbstractMigration;
4 class AddLatLongColumnsToLocationsTable extends AbstractMigration
9 * More information on this method is available here:
10 * http://docs.phinx.org/en/latest/migrations.html#the-change-method
13 public function change()
15 $table = $this->table('locations');
17 $table->addColumn('lat', 'float', ['null' => true]);
18 $table->addColumn('lng', 'float', ['null' => true]);