Expand description
Schema migration statement generation.
Structs§
- Migration
Statement - A migration step pairing a DDL
Statementwith the [Schema] it applies against.
Functions§
- generate_
migration - Generates the SQL [
Migration] for a schema diff in the dialect named bycapability.sql. PostgreSQL gets one batch; other dialects get breakpoint markers so drivers can execute one statement at a time.