Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Feb 17, 2024
1 parent 0b833f0 commit 119e22b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ class ImproveRemotePendingAccountsIndex < ActiveRecord::Migration[7.1]
def change
remove_index :accounts, :remote_pending, unique: false, algorithm: :concurrently

add_index :accounts, :id, unique: false, algorithm: :concurrently, where: 'domain IS NOT NULL AND remote_pending AND suspended_at IS NOT NULL'
add_index :accounts, :id, name: 'index_remote_pending_users', unique: false, algorithm: :concurrently, where: 'domain IS NOT NULL AND remote_pending AND suspended_at IS NOT NULL'
end
end

0 comments on commit 119e22b

Please sign in to comment.