RubricLab / create-rubric-app

CLI tool to get started with a full-stack AI project.
https://todo.rubric.sh
Other
136 stars 9 forks source link

sqlite on scaffold #20

Closed iamshanvy closed 11 months ago

iamshanvy commented 11 months ago

use sqlite prisma provider only when scaffolding the project, use postgresql by default (for demo deployment)

essentially it is just a string replacement from postgresql to sqlite of schema.prisma file

alternative is probably having a separate file (like scaffold.schema.prisma) that would be mved to scaffolded project with provider set as sqlite, main idea is to use sqlite only on scaffolded project

proposed solution for #16, open for discussion

marked as draft since I am able to test on windows only tomorrow

changeset-bot[bot] commented 11 months ago

🦋 Changeset detected

Latest commit: 4da67748a0e04f2efaf1fad3db52cac53caa1b78

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------- | ----- | | create-rubric-app | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 11 months ago

@iamshanvy is attempting to deploy a commit to the RubricLabs Team on Vercel.

A member of the Team first needs to authorize it.

iamshanvy commented 11 months ago

oh boy i really messed up my sync here, lemme reopen a PR