20230630145300_add_index_backups_on_user_id.rb 202 B

123456789
  1. # frozen_string_literal: true
  2. class AddIndexBackupsOnUserId < ActiveRecord::Migration[6.1]
  3. disable_ddl_transaction!
  4. def change
  5. add_index :backups, :user_id, algorithm: :concurrently
  6. end
  7. end