pub fn schema_from_database(
db: &DatabaseSchema,
config: IntrospectionConfig,
) -> CliResult<IntrospectionResult>Expand description
Translate a query-layer DatabaseSchema into a prax_schema::Schema
suitable as a diff source, using the migration engine’s SchemaBuilder.
config controls which tables are included/excluded (e.g. a foreign
runner’s migration bookkeeping table); pass
IntrospectionConfig::default for the standard exclusions.