Files
docuseal/db/migrate/20250617074820_add_templates_folder_index.rb
T

8 lines
199 B
Ruby
Raw Normal View History

2025-06-17 10:37:25 +03:00
# 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