Expand description
Interactive schema builder (drizzle new)
Walks the user through an interactive wizard to define tables, columns,
indexes, and foreign keys, then generates Rust schema code using the
existing codegen pipeline (the same one drizzle introspect uses).
Supports JSON import/export for CI-friendly, reproducible schema generation:
drizzle new --jsonreads a JSON schema definition from stdindrizzle new --json --from file.jsonreads from a filedrizzle new --export-json out.jsonexports the schema as JSONdrizzle new --schema-helpprints the expected JSON shape
Structs§
Enums§
- Auto
GenKind - Auto-generation strategy for a column value.
- Field
Casing
Functions§
- run
- Run the
newcommand to scaffold a schema definition.