Jizoku.Operations.SchemaCheck (jizoku v0.4.0)

Copy Markdown View Source

Performs a read-only structural check of the configured Jizoku database schema.

The check compares required tables, columns, indexes, and foreign keys with Jizoku's current baseline. It never runs migrations or writes migration metadata.

Summary

Functions

Checks the configured Ecto schema or reports that SQL drift is not applicable.

Builds a schema result from normalized PostgreSQL catalog rows.

Types

result()

@type result() :: map()

Functions

check(arg1)

Checks the configured Ecto schema or reports that SQL drift is not applicable.

from_catalog(prefix, column_rows, index_rows, foreign_key_rows)

@spec from_catalog(String.t(), list(), list(), list()) :: result()

Builds a schema result from normalized PostgreSQL catalog rows.