Squidie.Operations.SchemaCheck (squidie v0.3.7)

Copy Markdown View Source

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

The check compares required tables, columns, indexes, and foreign keys with Squidie'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.