trustieforge/db/migrate/20121026002032_add_enumerat...

10 lines
213 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddEnumerationsPositionName < ActiveRecord::Migration
def up
add_column :enumerations, :position_name, :string, :limit => 30
end
def down
remove_column :enumerations, :position_name
end
end