Assigns a random color to conference, track and difficulty level

This commit is contained in:
Chrisbr 2014-06-02 12:31:44 +02:00
parent fa129de063
commit b9d01220ad
4 changed files with 50 additions and 4 deletions

View file

@ -0,0 +1,7 @@
class RemoveColorDefaults < ActiveRecord::Migration
def change
change_column_default(:tracks, :color, nil)
change_column_default(:conferences, :color, nil)
change_column_default(:difficulty_levels, :color, nil)
end
end