akkoma/priv/repo/migrations/20200712234852_add_approval_fields_to_users.exs

11 lines
225 B
Elixir
Raw Normal View History

2020-07-15 22:08:46 +00:00
defmodule Pleroma.Repo.Migrations.AddApprovalFieldsToUsers do
use Ecto.Migration
def change do
alter table(:users) do
2020-07-15 22:08:46 +00:00
add(:approval_pending, :boolean)
add(:registration_reason, :string)
end
end
end