WIP: Add backfilling of posts #846
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ def up do
|
||||||
alter table(:users) do
|
alter table(:users) do
|
||||||
add_if_not_exists(:outbox, :text)
|
add_if_not_exists(:outbox, :text)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
execute("update users set outbox = replace(inbox, 'inbox', 'outbox')")
|
||||||
end
|
end
|
||||||
|
|
||||||
def down do
|
def down do
|
||||||
|
|
Loading…
Reference in a new issue