Jizoku.Persistence.Schema (jizoku v0.4.0)

Copy Markdown View Source

Defines the versioned structural baseline for Jizoku's persisted journal.

The installer and operational schema checker share this manifest so copied host migrations and live-database diagnostics use the same required tables.

Summary

Functions

Returns the current structural schema baseline version.

Returns required Jizoku table names in deterministic order.

Returns required table, column, index, and foreign-key definitions.

Functions

baseline()

@spec baseline() :: pos_integer()

Returns the current structural schema baseline version.

table_names()

@spec table_names() :: [String.t()]

Returns required Jizoku table names in deterministic order.

tables()

@spec tables() :: map()

Returns required table, column, index, and foreign-key definitions.