StatifierRouter.Schema.Location (StatifierRouter v0.9.2)

Copy Markdown View Source

A row of the location table: the BasicHTTP location token of the execution one address row names (ADR-0002, the Amendment of 2026-09-30, decision 1).

address_id references the address row's id and is deleted with it; token is the path segment a location ends in. Both carry a unique index, named in StatifierRouter.Migrations.V04. The package reads and writes this table only on a configuration that sets :basichttp (StatifierRouter.BasicHTTP).

Summary

Types

t()

@type t() :: %StatifierRouter.Schema.Location{
  __meta__: term(),
  address_id: StatifierRouter.Schema.Id.t() | nil,
  id: StatifierRouter.Schema.Id.t() | nil,
  inserted_at: DateTime.t() | nil,
  token: String.t() | nil
}