demarches-normaliennes/db/migrate/20180308110811_add_defaults_to_champs.rb
2018-03-08 14:17:04 +01:00

6 lines
238 B
Ruby

class AddDefaultsToChamps < ActiveRecord::Migration[5.2]
def change
change_column :champs, :private, :boolean, default: false, null: false
change_column :types_de_champ, :private, :boolean, default: false, null: false
end
end