X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=production%2Fexample_apps%2Fzippy_maps%2Fconfig%2FMigrations%2F20170712140650_AddLatLongColumnsToLocationsTable.php;fp=production%2Fexample_apps%2Fzippy_maps%2Fconfig%2FMigrations%2F20170712140650_AddLatLongColumnsToLocationsTable.php;h=71c9b42444f1152fd378f013c1fceea438288a05;hb=34d1cb2e8687b826357db1d3821bf9e05cf6f13d;hp=0000000000000000000000000000000000000000;hpb=21f30bb859e6c15393e23ac0e5ef417b82f628a5;p=feisty_meow.git diff --git a/production/example_apps/zippy_maps/config/Migrations/20170712140650_AddLatLongColumnsToLocationsTable.php b/production/example_apps/zippy_maps/config/Migrations/20170712140650_AddLatLongColumnsToLocationsTable.php new file mode 100644 index 00000000..71c9b424 --- /dev/null +++ b/production/example_apps/zippy_maps/config/Migrations/20170712140650_AddLatLongColumnsToLocationsTable.php @@ -0,0 +1,24 @@ +table('locations'); + + $table->addColumn('lat', 'float', ['null' => true]); + $table->addColumn('lng', 'float', ['null' => true]); + + $table->update(); + + + } +}