Add backfilling of posts #846
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue