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

Fix typo

Dombi Attilad9d6ba01cdf6
diff --git a/modules/bim/db/migrate/20210521080035_update_xkt_to_version8.rb b/modules/bim/db/migrate/20210521080035_update_xkt_to_version8.rb
index 7ce80e4a7bb..e50e2783386 100644
--- a/modules/bim/db/migrate/20210521080035_update_xkt_to_version8.rb
+++ b/modules/bim/db/migrate/20210521080035_update_xkt_to_version8.rb
@@ -33,7 +33,7 @@ class UpdateXktToVersion8 < ActiveRecord::Migration[6.1]
# Note: rails 7.1 breaks the class' ancestor chain, and raises an error, when a class
# with an enum definition without a database field is being referenced.
- # Re-defining the Project class without the enum to avoid the issue.
+ # Re-defining the IfcModel class without the enum to avoid the issue.
class IfcModel < ApplicationRecord
has_many :attachments, -> { where(container_type: 'Bim::IfcModels::IfcModel') },
foreign_key: :container_id,
diff --git a/modules/bim/db/migrate/20211011204301_add_column_conversion_status_to_ifc_model.rb b/modules/bim/db/migrate/20211011204301_add_column_conversion_status_to_ifc_model.rb
index 788b0edd5d0..a40f2d1a840 100644
--- a/modules/bim/db/migrate/20211011204301_add_column_conversion_status_to_ifc_model.rb
+++ b/modules/bim/db/migrate/20211011204301_add_column_conversion_status_to_ifc_model.rb
@@ -29,7 +29,7 @@
class AddColumnConversionStatusToIfcModel < ActiveRecord::Migration[6.1]
# Note: rails 7.1 breaks the class' ancestor chain, and raises an error, when a class
# with an enum definition without a database field is being referenced.
- # Re-defining the Project class without the enum to avoid the issue.
+ # Re-defining the IfcModel class without the enum to avoid the issue.
class IfcModel < ApplicationRecord
has_many :attachments, -> { where(container_type: 'Bim::IfcModels::IfcModel') },
foreign_key: :container_id,