Skip to content

Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬

304 B
Raw Blame
class AddRingStateToCalls < ActiveRecord::Migration[7.2]
  def change
    # Who a ring went to and which devices were rung, kept out of `meta` so a write of
    # `meta` from a copy of the call loaded earlier cannot erase it
    add_column :calls, :ring_state, :jsonb, default: {}, null: false
  end
end