pub fn diff_schema(
target: &SchemaDescriptor,
current: &DbState,
) -> Result<Vec<String>, String>Expand description
Compute ordered DDL SQL strings to bring a database in sync with target.
All statements use plain (non-CONCURRENTLY) index creation — suitable for
watch mode where everything runs inside a single transaction.