2014-03-05 11:37:58 +01:00
|
|
|
class UseVdaysVpositionsDefaults < ActiveRecord::Migration
|
|
|
|
|
def up
|
2014-07-21 14:49:05 +02:00
|
|
|
change_column :conferences, :use_vpositions, :boolean, default: false
|
|
|
|
|
change_column :conferences, :use_vdays, :boolean, default: false
|
2014-03-05 11:37:58 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def down
|
2014-08-18 21:26:45 +03:00
|
|
|
change_column :conferences, :use_vpositions, :boolean, default: nil
|
|
|
|
|
change_column :conferences, :use_vdays, :boolean, default: nil
|
2014-03-05 11:37:58 +01:00
|
|
|
end
|
|
|
|
|
end
|