Files
grecia/db/migrate/20181113184434_add_polygons_to_geozones.rb
Matheus Miranda de13e789dd Add polygon geographies to Budgets' map
Note that in the budgets wizard test we now create district with no
associated geozone, so the text "all city" will appear in the districts
table too, meaning we can't use `within "section", text: "All city" do`
anymore since it would result in an ambiguous match.

Co-Authored-By: Julian Herrero <microweb10@gmail.com>
Co-Authored-By: Javi Martín <javim@elretirao.net>
2023-05-31 16:56:15 +02:00

9 lines
168 B
Ruby

class AddPolygonsToGeozones < ActiveRecord::Migration[5.0]
def change
change_table :geozones do |t|
t.text :geojson
t.string :color
end
end
end