mirror of
https://github.com/docusealco/docuseal
synced 2026-11-16 16:12:32 -05:00
adjust indexes
This commit is contained in:
1 parent
7965c17f46
commit
2491b7b7e3
7 files changed
+25
-10
No files matched your search
@@ -0,0 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddArchivedTemplatesIndex < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_index :templates, %i[account_id id], where: 'archived_at IS NOT NULL',
|
||||
name: 'index_templates_on_account_id_and_id_archived'
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user