pleroma/priv/repo/migrations/20200928145912_revert_citext_change.exs

12 lines
219 B
Elixir
Raw Normal View History

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