create_schema
Generate PostgreSQL tables and foreign key constraints from Mermaid ER diagrams by executing DDL statements, eliminating manual schema creation for automatic REST and GraphQL API generation.
Instructions
Create PostgreSQL tables from the ER diagram. This will execute DDL statements to create tables and foreign key constraints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagram | No | Mermaid ER diagram text. Uses configured source if not provided. | |
| dropExisting | No | Drop existing tables before creating. Default: false |