Skip to content

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

[#66093] Ignore RuboCop

Tobias Dillmann758777fc49ac
diff --git a/db/migrate/20250923135048_convert_project_to_customized_in_calculated_value_errors.rb b/db/migrate/20250923135048_convert_project_to_customized_in_calculated_value_errors.rb
index 0b14920b5f1..f75fbe51ebe 100644
--- a/db/migrate/20250923135048_convert_project_to_customized_in_calculated_value_errors.rb
+++ b/db/migrate/20250923135048_convert_project_to_customized_in_calculated_value_errors.rb
@@ -3,7 +3,7 @@
class ConvertProjectToCustomizedInCalculatedValueErrors < ActiveRecord::Migration[8.0]
def up
rename_column :calculated_value_errors, :project_id, :customized_id
- add_column :calculated_value_errors, :customized_type, :string, null: false
+ add_column :calculated_value_errors, :customized_type, :string, null: false # rubocop:disable Rails/NotNullColumn
CalculatedValueError.reset_column_information # Reload schema
CalculatedValueError.update_all(customized_type: "Project")