trustieforge/db/migrate/20121026002032_add_enumerat...

10 lines
213 B
Ruby

class AddEnumerationsPositionName < ActiveRecord::Migration
def up
add_column :enumerations, :position_name, :string, :limit => 30
end
def down
remove_column :enumerations, :position_name
end
end