Skip to content

Devzstudio/SQL-to-Prisma-Schema-Generator

Repository files navigation

SQL to Prisma Schema Generator

⚛️ Generate Prisma Scheme Online From SQL Query

SQL to Prisma Schema Generator

Check live on https://sql-to-prisma.vercel.app/

Made with ❤️ by Twitter Follow Twitter Follow

✨ Features

  • Convert SQL Table To Prisma Schema

  • Copy Generated Code to Clipboard

  • Dark Mode

🗒 Docs

  • Paste SQL Query example.
CREATE TABLE `users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(225) NOT NULL,
  `password` varchar(225) NOT NULL,
  `email` varchar(225) NOT NULL,
  `avatar` varchar(225) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `url` (`url`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  • Click on the Run Button

🔌 Usage

git clone https://github.com/Devzstudio/SQL-to-Prisma-Schema-Generator.git
  • Install dependencies and start
npm install
npm run dev

🛣 ToDo

  • Add Keyboard Shortcut for Paste and Copy

🤝 Contributing

Contributions, issues and feature requests are welcome! 😍

Show your support

Give a ⭐️ if this project helped you! 🥰