mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
8 lines
199 B
Ruby
8 lines
199 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddTemplatesFolderIndex < ActiveRecord::Migration[8.0]
|
|
def change
|
|
add_index :templates, %i[account_id folder_id id], where: 'archived_at IS NULL'
|
|
end
|
|
end
|