Use only new hash syntax
This commit is contained in:
parent
3901973fd6
commit
5289f41eb5
72 changed files with 179 additions and 181 deletions
|
|
@ -1,11 +1,11 @@
|
|||
class UseVdaysVpositionsDefaults < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :conferences, :use_vpositions, :boolean, :default => false
|
||||
change_column :conferences, :use_vdays, :boolean, :default => false
|
||||
change_column :conferences, :use_vpositions, :boolean, default: false
|
||||
change_column :conferences, :use_vdays, :boolean, default: false
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :conferences, :use_vpositions, :boolean, :default => nil
|
||||
change_column :conferences, :use_vdays, :boolean, :default => nil
|
||||
change_column :conferences, :use_vpositions, :boolean, default: nil
|
||||
change_column :conferences, :use_vdays, :boolean, default: nil
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue