Matchu
fcf3292448
I'm not sure it's literally true that they were all built against Rails 3.2, but that's what it was at before we upgraded, and like. that's probably fine
10 lines
234 B
Ruby
10 lines
234 B
Ruby
class AddOwnedToClosetHangers < ActiveRecord::Migration[3.2]
|
|
def self.up
|
|
add_column :closet_hangers, :owned, :boolean, :null => false, :default => true
|
|
end
|
|
|
|
def self.down
|
|
remove_column :closet_hangers, :owned
|
|
end
|
|
end
|
|
|