mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 18:22:53 +00:00
8 lines
304 B
Ruby
8 lines
304 B
Ruby
class AddUniqueValidationIndex < ActiveRecord::Migration[6.0]
|
|
def change
|
|
add_index :channel_twitter_profiles, [:account_id, :profile_id], unique: true
|
|
add_index :channel_twilio_sms, [:account_id, :phone_number], unique: true
|
|
add_index :webhooks, [:account_id, :url], unique: true
|
|
end
|
|
end
|