User search: Once again, change uri handling.

They can indeed be non-unique.
This commit is contained in:
lain 2020-09-30 14:14:41 +02:00
commit 90fee49c52
3 changed files with 17 additions and 2 deletions

View file

@ -0,0 +1,8 @@
defmodule Pleroma.Repo.Migrations.UserURIsIndexPartThree do
use Ecto.Migration
def change do
drop_if_exists(unique_index(:users, :uri))
create_if_not_exists(index(:users, :uri))
end
end