Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AO3-6639 Output current DB schema #4669

Merged
merged 6 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ 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.
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
3 changes: 3 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,7 @@
config.active_support.deprecation = :notify

config.middleware.use Rack::Attack

# Disable dumping schemas after migrations.
config.active_record.dump_schema_after_migration = false
end
3 changes: 3 additions & 0 deletions config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,7 @@
end

config.middleware.use Rack::Attack

# Disable dumping schemas after migrations.
config.active_record.dump_schema_after_migration = false
end
Loading
Loading