make conversation-id deterministic #154

Merged
floatingghost merged 6 commits from conversation-id into develop 2022-08-06 20:59:16 +00:00
1 changed files with 13 additions and 0 deletions
Showing only changes of commit 1faf54ab41 - Show all commits

View File

@ -0,0 +1,13 @@
defmodule Pleroma.Repo.Migrations.RemoveNullObjects do
use Ecto.Migration
def up do
statement = """
DELETE FROM objects
WHERE (data->>'type') is null;
"""
execute(statement)
end
def down, do: :ok
end