mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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
|
# frozen_string_literal: true
|
||||||
|
|
||||||
unless Discourse.skip_post_deployment_migrations?
|
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
|
Discourse::DB_POST_MIGRATE_PATH
|
||||||
).to_s
|
).to_s
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user