Skip to content

Commit baa1efa

Browse files
committed
add index on users.open_to_relocate_local
1 parent 1ea5cde commit baa1efa

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
defmodule Algora.Repo.Migrations.AddOpenToRelocateLocalIndexToUsers do
2+
use Ecto.Migration
3+
4+
@disable_ddl_transaction true
5+
@disable_migration_lock true
6+
7+
def change do
8+
create index(:users, [:open_to_relocate_local], concurrently: true)
9+
end
10+
end

0 commit comments

Comments
 (0)