summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-05-06 17:59:45 -0300
committerFelipe Artur <felipefac@gmail.com>2016-05-16 14:56:32 -0300
commit7bb84e64979edda8e76f077bd58aeb35857aec23 (patch)
tree49af72a948475761144a1aa5c6f42b33debba813 /db
parent0baadd6cff63d5ac0048043381a0b7daff6e01c3 (diff)
downloadgitlab-ce-7bb84e64979edda8e76f077bd58aeb35857aec23.tar.gz
Change landing page when skipping confirmation email and add documentation
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160421141709_add_send_confirmation_email_to_application_settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160421141709_add_send_confirmation_email_to_application_settings.rb b/db/migrate/20160421141709_add_send_confirmation_email_to_application_settings.rb
index 0fef2a831e7..f92ef960509 100644
--- a/db/migrate/20160421141709_add_send_confirmation_email_to_application_settings.rb
+++ b/db/migrate/20160421141709_add_send_confirmation_email_to_application_settings.rb
@@ -3,7 +3,7 @@ class AddSendConfirmationEmailToApplicationSettings < ActiveRecord::Migration
add_column :application_settings, :send_user_confirmation_email, :boolean, default: false
#Sets confirmation email to true by default on existing installations.
- ApplicationSetting.update_all(send_user_confirmation_email: true)
+ execute "UPDATE application_settings SET send_user_confirmation_email=true"
end
def down