mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Assigns a random color to conference, track and difficulty level
This commit is contained in:
parent
fa129de063
commit
b9d01220ad
4 changed files with 50 additions and 4 deletions
7
db/migrate/20140530082708_remove_color_defaults.rb
Normal file
7
db/migrate/20140530082708_remove_color_defaults.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue