akkoma/priv/repo/migrations/20220916115149_ensure_mastofe_settings.exs
floatingghost 911f8feb0a Ensure migrations succeed (#216)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: AkkomaGang/akkoma#216
2022-09-16 11:53:11 +00:00

9 lines
191 B
Elixir

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