OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Add precompile to db exceptions
Oliver Günther400b01b57524
diff --git a/config/initializers/06-pending_migrations_check.rb b/config/initializers/06-pending_migrations_check.rbindex 0f1d90e9e56..4cb40233be5 100644--- a/config/initializers/06-pending_migrations_check.rb+++ b/config/initializers/06-pending_migrations_check.rb@@ -32,7 +32,7 @@# since it can lead to runtime schema cache issues.# Refusing to boot will encourage admins to fix missing migrations.-exceptions = %w(db:create db:drop db:migrate db:structure:load db:schema:load)+exceptions = %w(db:create db:drop db:migrate db:structure:load db:schema:load assets:precompile)is_console = Rails.const_defined? 'Console'if Rails.env.production? && !is_console && (exceptions & ARGV).empty?