mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 02:12:09 +08:00
FIX: Use migrations path for post_migrate (#8133)
That is a problem after upgrade to Rails 6. It was partially fixed here: 025d4ee91f
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
unless Discourse.skip_post_deployment_migrations?
|
||||
Rails.application.config.paths['db/migrate'] << Rails.root.join(
|
||||
ActiveRecord::Migrator.migrations_paths << Rails.root.join(
|
||||
Discourse::DB_POST_MIGRATE_PATH
|
||||
).to_s
|
||||
end
|
||||
|
Reference in New Issue
Block a user