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
Exclude assets:clean from check
Oliver Günther6669d6bd24a8
diff --git a/config/initializers/06-pending_migrations_check.rb b/config/initializers/06-pending_migrations_check.rbindex 96ca1530d55..e78db1f87c0 100644--- a/config/initializers/06-pending_migrations_check.rb+++ b/config/initializers/06-pending_migrations_check.rb@@ -32,7 +32,10 @@# 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 assets:precompile)+exceptions = %w(+ db:create db:drop db:migrate db:structure:load db:schema:load+ assets:precompile assets:clean+)is_console = Rails.const_defined? 'Console'if Rails.env.production? && !is_console && (exceptions & ARGV).empty?