Add index to backups on `user_id` column (#25647)
parent
2751a6d716
commit
54c3204834
@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddIndexBackupsOnUserId < ActiveRecord::Migration[6.1]
|
||||
disable_ddl_transaction!
|
||||
|
||||
def change
|
||||
add_index :backups, :user_id, algorithm: :concurrently
|
||||
end
|
||||
end
|
Loading…
Reference in new issue