Add configurable registration_reason limit

This commit is contained in:
Alex Gleason 2020-07-27 15:13:34 -05:00
commit 6f44a0ee84
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
4 changed files with 21 additions and 2 deletions

View file

@ -4,7 +4,7 @@ defmodule Pleroma.Repo.Migrations.AddApprovalFieldsToUsers do
def change do
alter table(:users) do
add(:approval_pending, :boolean)
add(:registration_reason, :string)
add(:registration_reason, :text)
end
end
end