Drizzle Schema
Paste your Drizzle table code here

Supported Syntax:

Handles `pgTable`, `mysqlTable`, and `sqliteTable`. Supports basic column types and chain methods like `.primaryKey()`, `.notNull()`, `.unique()`, and `.default()`.

Generated SQL
Raw SQL CREATE TABLE statements

Click "Generate SQL" to see the output

Why Drizzle?

Drizzle ORM is a headless TypeScript ORM. It's built for developers who care about SQL and performance. This tool helps you quickly verify the SQL that Drizzle yields or migrate existing schemas.