Forge.Schema.Artifact (Forge v0.1.1)

View Source

Ecto schema for artifact metadata.

Stores pointers to large blobs in external storage (S3, local filesystem).

Summary

Types

t()

@type t() :: %Forge.Schema.Artifact{
  __meta__: term(),
  artifact_key: String.t() | nil,
  content_hash: String.t() | nil,
  content_type: String.t() | nil,
  id: binary() | nil,
  inserted_at: DateTime.t() | nil,
  sample: Forge.Schema.Sample.t() | Ecto.Association.NotLoaded.t() | nil,
  sample_id: binary() | nil,
  size_bytes: integer() | nil,
  storage_uri: String.t() | nil
}