socialforge/db/migrate/20150713161100_add_descript...

9 lines
216 B
Ruby
Raw Normal View History

2015-07-13 16:44:53 +08:00
class AddDescriptionToUserExtensions < ActiveRecord::Migration
def up
add_column :user_extensions, :description, :string, default: ''
end
def down
remove_column :user_extensions, :description
end
end