pleroma/priv/repo/migrations/20191007123056_add_ap_id_co...

12 lines
216 B
Elixir

defmodule Pleroma.Repo.Migrations.AddApIdColumnToObjects do
use Ecto.Migration
def change do
alter table(:objects) do
add :ap_id, :string
end
create unique_index(:objects, [:ap_id])
end
end