demarches-normaliennes/db/migrate/20190627132911_secured_login_by_default.rb

6 lines
187 B
Ruby
Raw Normal View History

class SecuredLoginByDefault < ActiveRecord::Migration[5.2]
def change
change_column_default(:gestionnaires, :features, from: {}, to: { "enable_email_login_token": true })
end
end