migration to delete migrated tesla setting
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Mon, 6 Jul 2020 06:12:29 +0000 (09:12 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Mon, 6 Jul 2020 06:12:29 +0000 (09:12 +0300)
priv/repo/migrations/20200706060258_remove_tesla_from_config.exs [new file with mode: 0644]

diff --git a/priv/repo/migrations/20200706060258_remove_tesla_from_config.exs b/priv/repo/migrations/20200706060258_remove_tesla_from_config.exs
new file mode 100644 (file)
index 0000000..798687f
--- /dev/null
@@ -0,0 +1,10 @@
+defmodule Pleroma.Repo.Migrations.RemoveTeslaFromConfig do
+  use Ecto.Migration
+
+  def up do
+    execute("DELETE FROM config WHERE config.group = ':tesla'")
+  end
+
+  def down do
+  end
+end