
URI paths are not actually case-insesitive, which caused migration issues on a number of databases. Closes #2188
11 lines
219 B
Elixir
11 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
|