1
0
Fork 0
forked from OpenNeo/impress
impress/db/migrate/20110722180616_add_owned_to_closet_hangers.rb

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