Skip to main content

generate_postgres_ddl

Function generate_postgres_ddl 

Source
pub fn generate_postgres_ddl(schema: &YAuthSchema) -> String
Expand description

Generate complete Postgres DDL for the entire schema.

Returns one string with all CREATE TABLE IF NOT EXISTS statements, in topological order (dependencies first).