User search: Once again, change uri handling.
They can indeed be non-unique.
This commit is contained in:
parent
2a11068a11
commit
90fee49c52
3 changed files with 17 additions and 2 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue