honkoma/priv/repo/migrations/20200928145912_revert_citex...

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