mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 13:59:55 +01:00
Squash User approval migrations
This commit is contained in:
parent
9ce95fa68f
commit
02cc42e72c
2 changed files with 2 additions and 10 deletions
|
@ -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
|
|
@ -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 a new issue