chore: fix schema error from PR merges (#5016)

This commit is contained in:
Sojan Jose 2022-07-11 20:12:48 +02:00 committed by GitHub
parent da12a39321
commit 05db053f60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@
# #
# id :bigint not null, primary key # id :bigint not null, primary key
# bot_config :jsonb # bot_config :jsonb
# bot_type :integer default(0) # bot_type :integer default("webhook")
# description :string # description :string
# name :string # name :string
# outgoing_url :string # outgoing_url :string

View file

@ -14,9 +14,9 @@
# #
# Indexes # Indexes
# #
# index_channel_twilio_sms_on_account_id_and_phone_number (account_id,phone_number) UNIQUE # index_channel_twilio_sms_on_account_sid_and_phone_number (account_sid,phone_number) UNIQUE
# index_channel_twilio_sms_on_messaging_service_sid (messaging_service_sid) UNIQUE # index_channel_twilio_sms_on_messaging_service_sid (messaging_service_sid) UNIQUE
# index_channel_twilio_sms_on_phone_number (phone_number) UNIQUE # index_channel_twilio_sms_on_phone_number (phone_number) UNIQUE
# #
class Channel::TwilioSms < ApplicationRecord class Channel::TwilioSms < ApplicationRecord

View file

@ -298,7 +298,7 @@ ActiveRecord::Schema.define(version: 2022_07_06_085458) do
t.datetime "updated_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false
t.integer "medium", default: 0 t.integer "medium", default: 0
t.string "messaging_service_sid" t.string "messaging_service_sid"
t.index ["account_id", "phone_number"], name: "index_channel_twilio_sms_on_account_id_and_phone_number", unique: true t.index ["account_sid", "phone_number"], name: "index_channel_twilio_sms_on_account_sid_and_phone_number", unique: true
t.index ["messaging_service_sid"], name: "index_channel_twilio_sms_on_messaging_service_sid", unique: true t.index ["messaging_service_sid"], name: "index_channel_twilio_sms_on_messaging_service_sid", unique: true
t.index ["phone_number"], name: "index_channel_twilio_sms_on_phone_number", unique: true t.index ["phone_number"], name: "index_channel_twilio_sms_on_phone_number", unique: true
end end