akkoma/priv/repo/migrations/20220916115149_ensure_mastofe_settings.exs

10 lines
191 B
Elixir
Raw Normal View History

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