From db7f6a1d8bedc5e2b18a06421abba6174dc241aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Mon, 3 Dec 2018 19:37:15 +0100 Subject: [PATCH] Ensure the default ApplicationSetting record is created first MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Coutable --- db/fixtures/production/001_application_settings.rb | 2 ++ db/fixtures/production/{001_admin.rb => 002_admin.rb} | 0 2 files changed, 2 insertions(+) create mode 100644 db/fixtures/production/001_application_settings.rb rename db/fixtures/production/{001_admin.rb => 002_admin.rb} (100%) diff --git a/db/fixtures/production/001_application_settings.rb b/db/fixtures/production/001_application_settings.rb new file mode 100644 index 00000000000..ab15717e9a9 --- /dev/null +++ b/db/fixtures/production/001_application_settings.rb @@ -0,0 +1,2 @@ +puts "Creating the default ApplicationSetting record.".color(:green) +Gitlab::CurrentSettings.current_application_settings diff --git a/db/fixtures/production/001_admin.rb b/db/fixtures/production/002_admin.rb similarity index 100% rename from db/fixtures/production/001_admin.rb rename to db/fixtures/production/002_admin.rb