mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
add index
This commit is contained in:
1 parent
7ed27bb413
commit
abd579103d
3 files changed
+16
-5
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddSendSmsSend2faSmsIndex < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_index :submission_events, %i[account_id created_at],
|
||||
where: "event_type IN ('send_sms', 'send_2fa_sms')",
|
||||
name: 'index_submissions_events_on_sms_event_types'
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user