From 43b952d486415f9897d825be176fd4be8b232383 Mon Sep 17 00:00:00 2001 From: Sojan Date: Fri, 20 Jun 2025 00:13:20 -0700 Subject: [PATCH] chore: clean up --- app/models/channel/voice.rb | 17 +++++++++++++++++ db/schema.rb | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/app/models/channel/voice.rb b/app/models/channel/voice.rb index d57b07bf3..760c7b91a 100644 --- a/app/models/channel/voice.rb +++ b/app/models/channel/voice.rb @@ -1,3 +1,20 @@ +# == Schema Information +# +# Table name: channel_voice +# +# id :bigint not null, primary key +# additional_attributes :jsonb +# phone_number :string not null +# provider :string default("twilio"), not null +# provider_config :jsonb not null +# created_at :datetime not null +# updated_at :datetime not null +# account_id :integer not null +# +# Indexes +# +# index_channel_voice_on_phone_number (phone_number) UNIQUE +# class Channel::Voice < ApplicationRecord include Channelable include Rails.application.routes.url_helpers diff --git a/db/schema.rb b/db/schema.rb index a458d5441..381d55d31 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -918,7 +918,7 @@ ActiveRecord::Schema[7.1].define(version: 2025_05_23_031839) do t.text "header_text" t.datetime "created_at", null: false t.datetime "updated_at", null: false - t.jsonb "config", default: {"allowed_locales"=>["en"]} + t.jsonb "config", default: {"allowed_locales" => ["en"]} t.boolean "archived", default: false t.bigint "channel_web_widget_id" t.index ["channel_web_widget_id"], name: "index_portals_on_channel_web_widget_id"