drawdb-io / drawdb

Free, simple, and intuitive online database diagram editor and SQL generator.
https://drawdb.app
GNU Affero General Public License v3.0
22.74k stars 1.59k forks source link

Add pushToGithub Feature #239

Closed alisalehi1380 closed 2 months ago

alisalehi1380 commented 2 months ago

Hello Thank you for this repository. It is great and practical and I appreciate you.🙏

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like In my opinion, saving table data on the browser has limitations. Therefore, I decided to fix this problem for myself. With my very little knowledge, I added a feature that uploads the SQL code to GitHub when I press cntl + alt + s.

Additional context photo_2024-09-08_16-22-54

https://github.com/user-attachments/assets/615fbc51-ef86-4e69-a731-5e52232fbccc

My purpose in opening the PR was to show how I did it. You definitely have much better handwriting than I do. 💪

vercel[bot] commented 2 months ago

@alisalehi1380 is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

alisalehi1380 commented 2 months ago

Yes, as I said, I know very little JavaScript and React. I got help from chat GPT.

1ilit commented 2 months ago

Thanks for the contribution but chatgpt isn't reliable and sucks even more when it comes to larger code bases