Skip to main content

postgres_migration_sql

Function postgres_migration_sql 

Source
pub fn postgres_migration_sql(
    expected: &[SchemaTable],
    diff: &SchemaDiff,
) -> Vec<String>
Available on crate feature postgres only.
Expand description

Generates PostgreSQL migration SQL for a given schema difference.