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 0000000000..aa95c82044 --- /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