Last active
October 18, 2017 05:35
-
-
Save rlisowski/8291b43106a3cfb78a807cbb047f66a6 to your computer and use it in GitHub Desktop.
MapFilters locations migration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class CreateLocations < ActiveRecord::Migration[5.1] | |
| def change | |
| create_table :locations do |t| | |
| t.st_point :coordinates, geographic: true | |
| t.timestamps | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment