Turn CREATE TABLE statements into Prisma, Drizzle, TypeORM or Mongoose.
CREATE TABLE statements (PostgreSQL, MySQL or SQLite). ALTER TABLE … ADD FOREIGN KEY, CREATE INDEX and CREATE TYPE … AS ENUM are understood too.
Parsed in your browser. Nothing leaves this page and nothing is stored.
Generated schema.prisma
Paste CREATE TABLE statements
Columns, primary and foreign keys, unique constraints, defaults and enums are mapped to the selected ORM, with relations in both directions.