1 2 3 4 5 6 7 8 9
class PopulateEnumerationsPositionName < ActiveRecord::Migration[4.2] def up IssuePriority.compute_position_names end def down IssuePriority.clear_position_names end end