1 defmodule Pleroma.Repo.Migrations.DataMigrationDeleteContextObjects do
7 dt = NaiveDateTime.utc_now()
10 "INSERT INTO data_migrations(name, inserted_at, updated_at) " <>
11 "VALUES ('delete_context_objects', '#{dt}', '#{dt}') ON CONFLICT DO NOTHING;"
16 execute("DELETE FROM data_migrations WHERE name = 'delete_context_objects';")