diff options
Diffstat (limited to 'db/migrate/20121026003537_populate_enumerations_position_name.rb')
-rw-r--r-- | db/migrate/20121026003537_populate_enumerations_position_name.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20121026003537_populate_enumerations_position_name.rb b/db/migrate/20121026003537_populate_enumerations_position_name.rb new file mode 100644 index 000000000..31777b75f --- /dev/null +++ b/db/migrate/20121026003537_populate_enumerations_position_name.rb @@ -0,0 +1,9 @@ +class PopulateEnumerationsPositionName < ActiveRecord::Migration + def up + IssuePriority.compute_position_names + end + + def down + IssuePriority.clear_position_names + end +end |