zones with default values

This commit is contained in:
Jared Cosulich 2018-01-29 11:48:27 -05:00
parent 029dfdf10e
commit 0fffd033ef
5 changed files with 49 additions and 14 deletions

View file

@ -3,7 +3,3 @@ class AddZonesToCategory < ActiveRecord::Migration[5.0]
add_column :categories, :zones, :string
end
end
[76, 90], [77, 91], [71, 85], [73, 86], [73, 86]
Category.all.each { |category| category.update() }