Documentation
¶
Overview ¶
Package sql generates PostgreSQL DDL from the orm IR.
Output layout — one file per schema, mirroring the prisma fragment tree:
<db>/<schema>.postgres.sql
Each file carries CREATE SCHEMA, CREATE TYPE for every enum, CREATE TABLE with inline comments, FK constraints referencing the resolved PK column, and CREATE INDEX statements.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.