Commit a3c4ffa3 authored by Micaël Bergeron's avatar Micaël Bergeron

make pseudonymizer_enable application setting true by default

parent 879c6586
......@@ -206,7 +206,7 @@ ActiveRecord::Schema.define(version: 20180612175636) do
t.string "encrypted_external_auth_client_key_pass_iv"
t.string "email_additional_text"
t.boolean "enforce_terms", default: false
t.boolean "pseudonymizer_enabled", default: false, null: false
t.boolean "pseudonymizer_enabled", default: true, null: false
end
create_table "approvals", force: :cascade do |t|
......
......@@ -101,7 +101,7 @@ module EE
slack_app_id: nil,
slack_app_secret: nil,
slack_app_verification_token: nil,
pseudonymizer_enabled: Settings.pseudonymizer['enabled']
pseudonymizer_enabled: true
)
end
end
......
......@@ -26,6 +26,6 @@ class AddPseudonymizerEnabledToApplicationSettings < ActiveRecord::Migration
# disable_ddl_transaction!
def change
add_column :application_settings, :pseudonymizer_enabled, :boolean, null: false, default: false
add_column :application_settings, :pseudonymizer_enabled, :boolean, null: false, default: true
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment