pleroma/priv/repo/migrations/20210612185407_add_newsletter_field_to_users.exs

10 lines
203 B
Elixir

defmodule Pleroma.Repo.Migrations.AddNewsletterFieldToUsers do
use Ecto.Migration
def change do
alter table(:users) do
add(:accepts_newsletter, :boolean, default: false)
end
end
end