Squash User approval migrations

This commit is contained in:
Alex Gleason 2020-07-15 17:08:46 -05:00
parent 9ce95fa68f
commit 02cc42e72c
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 2 additions and 10 deletions

View file

@ -1,8 +1,9 @@
defmodule Pleroma.Repo.Migrations.AddRegistrationReasonToUsers do
defmodule Pleroma.Repo.Migrations.AddApprovalFieldsToUsers do
use Ecto.Migration
def change do
alter table(:users) do
add(:approval_pending, :boolean)
add(:registration_reason, :string)
end
end

View file

@ -1,9 +0,0 @@
defmodule Pleroma.Repo.Migrations.AddApprovalPendingToUsers do
use Ecto.Migration
def change do
alter table(:users) do
add(:approval_pending, :boolean)
end
end
end