solidjs / solid-docs-next

SolidJS Docs.
https://docs.solidjs.com/
208 stars 230 forks source link

[Content]: Database use in SolidStart #736

Open ile opened 2 months ago

ile commented 2 months ago

📚 Subject area/topic

SolidStart

📋 Page(s) affected (or suggested, for new content)

https://docs.solidjs.com/solid-start

📋 Description of content that is out-of-date or incorrect

How is the database (Prisma, sqlite) supposed to work in a production environment - after doing npm run build and then npm start?

Where is the database file supposed to go and how can I create an empty database?

The development database file is in ./prisma/dev.db

🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

No response