aboutsummaryrefslogtreecommitdiff
path: root/db/migrate/20201006140511_create_resources.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix resources migrationhellekin2020-10-061-1/+0
| | | | | | | t.references already creates an index, so the second index actually broke things. You may need to rebuild the database!
* Add Resource modelhellekin2020-10-061-0/+13
Resources will be stored as JSON, in the (GeoJSON) :feature column. They are assigned an UUID upon creation if they don't comme with one. They belong to an Agent.