Expand description
Database schema extraction, diffing, risk classification, and SQL planning.
Structs§
- Apply
Report - 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.
- 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_
database_ schema - Inspect one PostgreSQL schema without changing database state.
- 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.