Skip to content

Commit

Permalink
AO3-6639 Revert schema dump setting
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjaustin committed Dec 2, 2023
1 parent eddb437 commit f14362f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ class Application < Rails::Application
# Configure sensitive parameters which will be filtered from the log file.
config.filter_parameters += [:content, :password, :terms_of_service_non_production]

# Disable dumping schemas after migrations.
# This can cause problems since we don't always update versions on merge.
# Ideally this would be enabled in dev, but we're not quite ready for that.
config.active_record.dump_schema_after_migration = false

# Allows belongs_to associations to be optional
config.active_record.belongs_to_required_by_default = false

Expand Down

0 comments on commit f14362f

Please sign in to comment.