Squidie.Persistence.Schema (squidie v0.3.7)

Copy Markdown View Source

Defines the versioned structural baseline for Squidie'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 Squidie 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 Squidie table names in deterministic order.

tables()

@spec tables() :: map()

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