Lightning.Adaptors.Catalogue.AdaptorVersion (Lightning v2.19.0)

View Source

Ecto schema for one row of the adaptor_versions table. Belongs to Lightning.Adaptors.Catalogue.Adaptor and is deleted with it.

Summary

Functions

Builds the changeset for inserting a version row.

Types

t()

@type t() :: %Lightning.Adaptors.Catalogue.AdaptorVersion{
  __meta__: term(),
  adaptor:
    Lightning.Adaptors.Catalogue.Adaptor.t()
    | Ecto.Association.NotLoaded.t()
    | nil,
  adaptor_id: Ecto.UUID.t() | nil,
  dependencies: map() | nil,
  deprecated: boolean(),
  id: Ecto.UUID.t() | nil,
  inserted_at: DateTime.t() | nil,
  integrity: String.t() | nil,
  peer_dependencies: map() | nil,
  published_at: DateTime.t() | nil,
  size_bytes: integer() | nil,
  tarball_url: String.t() | nil,
  version: String.t() | nil
}

Functions

changeset(struct, attrs)

@spec changeset(t(), map()) :: Ecto.Changeset.t()

Builds the changeset for inserting a version row.