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:
parent
36355d3ed9
commit
c74c5f479a
|
@ -12,6 +12,8 @@ defmodule Pleroma.DataMigration do
|
||||||
import Ecto.Changeset
|
import Ecto.Changeset
|
||||||
import Ecto.Query
|
import Ecto.Query
|
||||||
|
|
||||||
|
@type t :: %__MODULE__{}
|
||||||
|
|
||||||
schema "data_migrations" do
|
schema "data_migrations" do
|
||||||
field(:name, :string)
|
field(:name, :string)
|
||||||
field(:state, State, default: :pending)
|
field(:state, State, default: :pending)
|
||||||
|
|
Loading…
Reference in New Issue