suitepro/db/migrate/20121026002032_add_enumerations_position_name.rb
2020-11-22 21:20:06 +01:00

9 lines
218 B
Ruby

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