Expand description
Database schema diffing, risk classification, and PostgreSQL migration execution.
Structs§
- Apply
Report - Baseline
Status - Change
Risk - Column
Schema - Database
Schema - Foreign
KeySchema - Index
Schema - Introspected
Column - Introspected
Foreign Key - Introspected
Index - Introspected
Schema - Introspected
Table - Migration
Lint - Migration
Plan - Migration
Status - Planned
Change - Seed
Schema - Seed
Value Schema - Table
Schema - Unique
Constraint Schema
Enums§
Constants§
Functions§
- apply_
project - Apply every pending disk migration and verify the resulting PostgreSQL schema.
- baseline_
project - Register one canonical initial migration without executing its SQL or changing business rows.
- connect_
database - Connect to PostgreSQL using the same TLS policy as migration commands.
- diff
- extract
- Extract a database schema from semantically valid IR.
- from_
json - Parse a schema snapshot.
- initial_
migration - inspect_
baseline - Preview adoption of an existing database without writing files or database history.
- inspect_
database_ schema - Inspect one PostgreSQL schema without changing database state.
- inspect_
schema_ structure - Compare a proposed application’s structure against one schema using a read-only transaction. This does not validate or register migration history.
- lint_
plan - migration_
sql - Render SQL for an automatically applicable migration plan.
- stamp_
schema_ checksum - status_
project - Inspect disk migrations, history, and database schema state.
- to_json
- Serialize a canonical schema snapshot.