diff options
author | Rémy Coutable <remy@rymai.me> | 2018-12-03 21:37:15 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-12-06 12:06:15 +0300 |
commit | db7f6a1d8bedc5e2b18a06421abba6174dc241aa (patch) | |
tree | 22caa179b7fe219c3370bca357e7bbf5b957cdd6 /db | |
parent | 73dce6c87024116d70fe37edd0ed78422b20041e (diff) |
Ensure the default ApplicationSetting record is created first
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'db')
-rw-r--r-- | db/fixtures/production/001_application_settings.rb | 2 | ||||
-rw-r--r-- | db/fixtures/production/002_admin.rb (renamed from db/fixtures/production/001_admin.rb) | 0 |
2 files changed, 2 insertions, 0 deletions
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 index 1c7c89f7bbd..1c7c89f7bbd 100644 --- a/db/fixtures/production/001_admin.rb +++ b/db/fixtures/production/002_admin.rb |