Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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! 🥰

Releases

No releases published

Sponsor this project

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /