impress/db/migrate/20100515020945_add_description_to_objects.rb

10 lines
189 B
Ruby
Raw Normal View History

class AddDescriptionToObjects < ActiveRecord::Migration
def self.up
add_column :objects, :description, :text
end
def self.down
remove_column :objects, :description
end
end