[#1033] Fix database migrations
This commit is contained in:
parent
66380d36d5
commit
85c7916c94
70 changed files with 151 additions and 103 deletions
|
|
@ -2,6 +2,6 @@ defmodule Pleroma.Repo.Migrations.AddUniqueIndexToAPID do
|
|||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create unique_index(:users, [:ap_id])
|
||||
create_if_not_exists unique_index(:users, [:ap_id])
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue