Adds geozone_restricted to polls

This commit is contained in:
kikito
2017-01-20 17:45:11 +01:00
parent 67c287dc14
commit d53c867ba4
2 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
class AddGeozoneRestrictedToPolls < ActiveRecord::Migration
def change
add_column :polls, :geozone_restricted, :boolean, default: false, index: true
end
end