impress/db/migrate/20100515020945_add_description_to_objects.rb

9 lines
189 B
Ruby

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