mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:16:08 +08:00
65164bf189
It's important that we don't perform pg_dumps against databases
running behind pgbouncer.
We had an old monkey-patch to prevent this, but following some [recent
internal rails refactoring](5488686851
),
the patch no longer works. Instead, we can use the official
`config.active_record.dump_schema_after_migration` option.
Setting this to false in production is recommended by Rails, and is the
default for newly generated Rails applications.
10 lines
305 B
Ruby
Executable File
10 lines
305 B
Ruby
Executable File
#!/usr/bin/env rake
|
|
# frozen_string_literal: true
|
|
|
|
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
|
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
|
|
|
require File.expand_path('../config/application', __FILE__)
|
|
|
|
Discourse::Application.load_tasks
|