a1a81e3799
Twilio SMS Channel Fixes : #350
7 lines
304 B
Ruby
7 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
|