projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure migrations succeed (#216)
[akkoma]
/
priv
/
repo
/
migrations
/
20220916115149_ensure_mastofe_settings.exs
diff --git a/priv/repo/migrations/20220916115149_ensure_mastofe_settings.exs
b/priv/repo/migrations/20220916115149_ensure_mastofe_settings.exs
new file mode 100644
(file)
index 0000000..
37880ff
--- /dev/null
+++ b/
priv/repo/migrations/20220916115149_ensure_mastofe_settings.exs
@@ -0,0
+1,9
@@
+defmodule Pleroma.Repo.Migrations.EnsureMastofeSettings do
+ use Ecto.Migration
+
+ def change do
+ alter table(:users) do
+ add_if_not_exists(:mastofe_settings, :map)
+ end
+ end
+end