pleroma/priv/repo/migrations/20200928145912_revert_citext_change.exs
rinpatch 7bc561127d Revert citext user URI migration
URI paths are not actually case-insesitive, which caused migration issues
 on a number of databases.

Closes #2188
2020-09-28 18:34:03 +03:00

12 lines
219 B
Elixir

defmodule Pleroma.Repo.Migrations.RevertCitextChange do
use Ecto.Migration
def change do
alter table(:users) do
modify(:uri, :text)
end
create_if_not_exists(unique_index(:users, :uri))
end
end