Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-08-06 12:52:10 +0300
committerBob Van Landuyt <bob@vanlanduyt.co>2018-08-06 14:33:07 +0300
commitbaffe82ace1ca3ee247c1eee2a5c21aea2256539 (patch)
treef8463f91103e7c8ac7809924c8978cf866b374dd /db
parent0f871450cd3e77b0a94769a12d2d100a6d093e2c (diff)
Hide instance statistics on new installations
Making the migrations and the default do the right thing in the first place. This makes 20180806094307 a no-op.
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180718005113_add_instance_statistics_visibility_to_application_setting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20180718005113_add_instance_statistics_visibility_to_application_setting.rb b/db/migrate/20180718005113_add_instance_statistics_visibility_to_application_setting.rb
index 4b6c1f74346..f5106f07500 100644
--- a/db/migrate/20180718005113_add_instance_statistics_visibility_to_application_setting.rb
+++ b/db/migrate/20180718005113_add_instance_statistics_visibility_to_application_setting.rb
@@ -10,7 +10,7 @@ class AddInstanceStatisticsVisibilityToApplicationSetting < ActiveRecord::Migrat
def up
add_column_with_default(:application_settings, :instance_statistics_visibility_private,
:boolean,
- default: false,
+ default: true,
allow_null: false)
end