Skip to main content

generate_sqlite_ddl

Function generate_sqlite_ddl 

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

Generate complete SQLite DDL for the entire schema.

Returns one string with PRAGMA foreign_keys = ON followed by all CREATE TABLE IF NOT EXISTS statements in topological order.