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 ...@@ -206,7 +206,7 @@ ActiveRecord::Schema.define(version: 20180612175636) do
t.string "encrypted_external_auth_client_key_pass_iv" t.string "encrypted_external_auth_client_key_pass_iv"
t.string "email_additional_text" t.string "email_additional_text"
t.boolean "enforce_terms", default: false t.boolean "enforce_terms", default: false
t.boolean "pseudonymizer_enabled", default: false, null: false t.boolean "pseudonymizer_enabled", default: true, null: false
end end
create_table "approvals", force: :cascade do |t| create_table "approvals", force: :cascade do |t|
......
...@@ -101,7 +101,7 @@ module EE ...@@ -101,7 +101,7 @@ module EE
slack_app_id: nil, slack_app_id: nil,
slack_app_secret: nil, slack_app_secret: nil,
slack_app_verification_token: nil, slack_app_verification_token: nil,
pseudonymizer_enabled: Settings.pseudonymizer['enabled'] pseudonymizer_enabled: true
) )
end end
end end
......
...@@ -26,6 +26,6 @@ class AddPseudonymizerEnabledToApplicationSettings < ActiveRecord::Migration ...@@ -26,6 +26,6 @@ class AddPseudonymizerEnabledToApplicationSettings < ActiveRecord::Migration
# disable_ddl_transaction! # disable_ddl_transaction!
def change 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
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