⚛️ Generate Prisma Scheme Online From SQL Query
Check live on https://sql-to-prisma.vercel.app/
-
Convert SQL Table To Prisma Schema
-
Copy Generated Code to Clipboard
-
Dark Mode
- 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
-
Try Online : https://sql-to-prisma.vercel.app/
-
Or Clone the repo
git clone https://github.com/Devzstudio/SQL-to-Prisma-Schema-Generator.git
- Install dependencies and start
npm install
npm run dev
- Add Keyboard Shortcut for Paste and Copy
Contributions, issues and feature requests are welcome! 😍
Give a ⭐️ if this project helped you! 🥰