discourse/config/initializers/000-post_migration.rb

8 lines
204 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