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

define Attachment in journal aggregation migration

ulferts717b959ed37b
diff --git a/db/migrate/20210615150558_aggregate_journals.rb b/db/migrate/20210615150558_aggregate_journals.rb
index 8e0306d421a..07dc557c963 100644
--- a/db/migrate/20210615150558_aggregate_journals.rb
+++ b/db/migrate/20210615150558_aggregate_journals.rb
@@ -35,6 +35,10 @@ class AggregateJournals < ActiveRecord::Migration[6.1]
# Class has been removed by now
class WikiContent < ApplicationRecord; end
+ # Class has been changed in the meantime.
+ # It received a status enum which's column does not yet exist when this migration runs.
+ class Attachment < ApplicationRecord; end
+
def up
[Attachment,
Changeset,