mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:15:46 +08:00
6 lines
192 B
Ruby
6 lines
192 B
Ruby
|
unless ['1', 'true'].include?(ENV["SKIP_POST_DEPLOYMENT_MIGRATIONS"]&.to_s)
|
||
|
Rails.application.config.paths['db/migrate'] << Rails.root.join(
|
||
|
Discourse::DB_POST_MIGRATE_PATH
|
||
|
).to_s
|
||
|
end
|