Skip to content

A platform for community discussion. Free, open, simple.

262 B
Raw Blame
# frozen_string_literal: true

class MigrateDmChannels < ActiveRecord::Migration[7.0]
  def up
    DB.exec(
      "UPDATE chat_channels SET type='DirectMessageChannel', chatable_type='DirectMessage' WHERE chatable_type = 'DirectMessageChannel'",
    )
  end
end