Initialising Workbench...
Build Drizzle ORM table schemas for PostgreSQL, MySQL, or SQLite. Add columns, pick types, set constraints — copy the ready-to-use TypeScript output.
The Drizzle ORM Schema Generator lets you visually build TypeScript table definitions for PostgreSQL, MySQL, and SQLite. Select your database, name your table, and add columns with types, lengths, and constraints like Primary Key, Not Null, and Unique.
The output is ready-to-paste Drizzle ORM TypeScript code using pgTable, mysqlTable, or sqliteTable — including the correct import statement from drizzle-orm/pg-core, drizzle-orm/mysql-core, or drizzle-orm/sqlite-core.
This tool handles type-specific column builders such as serial for auto-increment in PostgreSQL, MySQL int().autoincrement(), and SQLite's integer().primaryKey({ autoIncrement: true }). Every tool runs locally — nothing is sent to a server.