Squash User approval migrations
This commit is contained in:
parent
9ce95fa68f
commit
02cc42e72c
|
@ -1,8 +1,9 @@
|
||||||
defmodule Pleroma.Repo.Migrations.AddRegistrationReasonToUsers do
|
defmodule Pleroma.Repo.Migrations.AddApprovalFieldsToUsers do
|
||||||
use Ecto.Migration
|
use Ecto.Migration
|
||||||
|
|
||||||
def change do
|
def change do
|
||||||
alter table(:users) do
|
alter table(:users) do
|
||||||
|
add(:approval_pending, :boolean)
|
||||||
add(:registration_reason, :string)
|
add(:registration_reason, :string)
|
||||||
end
|
end
|
||||||
end
|
end
|
|
@ -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
|
|
Loading…
Reference in New Issue