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

remove reply from message journaling (#9293)

ulfertsc1672f239c82
diff --git a/db/migrate/20210519141244_remove_reply_from_message_journalizing.rb b/db/migrate/20210519141244_remove_reply_from_message_journalizing.rb
new file mode 100644
index 00000000000..aa95c820440
--- /dev/null
+++ b/db/migrate/20210519141244_remove_reply_from_message_journalizing.rb
@@ -0,0 +1,6 @@
+class RemoveReplyFromMessageJournalizing < ActiveRecord::Migration[6.1]
+ def change
+ remove_column :message_journals, :last_reply_id, :integer
+ remove_column :message_journals, :replies_count, :integer, default: 0, null: false
+ end
+end