10 lines
229 B
Ruby
10 lines
229 B
Ruby
class AddOwnedToClosetHangers < ActiveRecord::Migration
|
|
def self.up
|
|
add_column :closet_hangers, :owned, :boolean, :null => false, :default => true
|
|
end
|
|
|
|
def self.down
|
|
remove_column :closet_hangers, :owned
|
|
end
|
|
end
|
|
|