Commit ff6355c0 authored by Andreas Brandl's avatar Andreas Brandl

Merge branch 'sh-disable-schema-dump-prod' into 'master'

Disable schema dumping after migrations in production

See merge request gitlab-org/gitlab!30812
parents a7298fff 445a3be3
---
title: Disable schema dumping after migrations in production
merge_request: 30812
author:
type: fixed
......@@ -52,6 +52,9 @@ Rails.application.configure do
# Enable serving of images, stylesheets, and JavaScripts from an asset server
config.action_controller.asset_host = ENV['GITLAB_CDN_HOST'] if ENV['GITLAB_CDN_HOST'].present?
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
# config.assets.precompile += %w( search.js )
......
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