discourse/config/initializers/000-post_migration.rb
2023-01-09 11:13:29 +00:00

9 lines
211 B
Ruby

# frozen_string_literal: true
unless Discourse.skip_post_deployment_migrations?
ActiveRecord::Tasks::DatabaseTasks.migrations_paths << Rails
.root
.join(Discourse::DB_POST_MIGRATE_PATH)
.to_s
end