re-add mastofe_settings column
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Sat, 8 Jan 2022 21:47:52 +0000 (21:47 +0000)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Sat, 8 Jan 2022 21:47:52 +0000 (21:47 +0000)
priv/repo/migrations/20220108213213_add_mastofe_settings.exs [new file with mode: 0644]

diff --git a/priv/repo/migrations/20220108213213_add_mastofe_settings.exs b/priv/repo/migrations/20220108213213_add_mastofe_settings.exs
new file mode 100644 (file)
index 0000000..1046c28
--- /dev/null
@@ -0,0 +1,9 @@
+defmodule Pleroma.Repo.Migrations.AddMastofeSettings do
+  use Ecto.Migration
+
+  def change do
+    alter table(:users) do
+      add_if_not_exists(:mastofe_settings, :map)
+    end
+  end
+end