2020-09-28 11:15:31 -04:00
|
|
|
defmodule Pleroma.Repo.Migrations.RevertCitextChange do
|
|
|
|
use Ecto.Migration
|
|
|
|
|
|
|
|
def change do
|
|
|
|
alter table(:users) do
|
|
|
|
modify(:uri, :text)
|
|
|
|
end
|
|
|
|
|
2020-09-30 08:17:21 -04:00
|
|
|
# create_if_not_exists(unique_index(:users, :uri))
|
2020-09-28 11:15:31 -04:00
|
|
|
end
|
|
|
|
end
|