akkoma/priv/repo/migrations/20230522213837_add_unfollowed_dm_restrictions.exs
2023-05-23 10:29:08 +01:00

9 lines
220 B
Elixir

defmodule Pleroma.Repo.Migrations.AddUnfollowedDmRestrictions do
use Ecto.Migration
def change do
alter table(:users) do
add(:accepts_direct_messages_from, :string, default: "everybody")
end
end
end