add last_outbox_fetch to migration

This commit is contained in:
tudbut 2024-11-03 21:49:04 +00:00
parent fdaff0a70b
commit ee1f8938fc

View file

@ -4,12 +4,14 @@ defmodule Pleroma.Repo.Migrations.UsersAddOutboxes do
def up do
alter table(:users) do
add_if_not_exists(:outbox, :text)
add_if_not_exists(:last_outbox_fetch, :text)
end
end
def down do
alter table(:users) do
remove_if_exists(:outbox, :text)
remove_if_exists(:last_outbox_fetch, :naive_datetime)
end
end
end