Pleroma.Migrators.Support.BaseMigratorState: fix dialyzer error

lib/pleroma/migrators/support/base_migrator_state.ex:10:unknown_type
Unknown type: Pleroma.DataMigration.t/0.
This commit is contained in:
Mark Felder 2024-01-22 17:24:01 -05:00
parent 36355d3ed9
commit c74c5f479a

View File

@ -12,6 +12,8 @@ defmodule Pleroma.DataMigration do
import Ecto.Changeset
import Ecto.Query
@type t :: %__MODULE__{}
schema "data_migrations" do
field(:name, :string)
field(:state, State, default: :pending)