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>
9 lines
168 B
Ruby
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
|