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

11 lines
223 B
Elixir
Raw Permalink Normal View History

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