commit: febf9d2684c26f7a457d2e69a92a5e99241ad701
parent c11c35cf8f1658d813af449fa339b00dbda22bd9
Author: Mark Felder <feld@feld.me>
Date: Wed, 19 Jun 2024 10:31:07 -0400
Remove Logger from ConfigDB
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/priv/repo/migrations/20240619141319_deprecate_config_db_logger.exs b/priv/repo/migrations/20240619141319_deprecate_config_db_logger.exs
@@ -0,0 +1,7 @@
+defmodule Pleroma.Repo.Migrations.DeprecateConfigDBLogger do
+ use Ecto.Migration
+
+ def change do
+ execute("DELETE FROM config WHERE config.group = ':logger'")
+ end
+end