WaspW
Wasp16mo ago
Sven

Recommendation for deploying and database

Hi I have been thinking about the deployment of my app and the database. I currently already have a postgress database running with lots of data in it (but i dont use it yet in development).

What i did with development now is add these exact tables that are in the "actual" postgres database in the "development" database through the prisma scheme (for testing purposes). Now I have been thinking on what to do when deploying my app:

  1. Add the Models (tables) that are in the "dev" table to my own database, that are not there yet like: Auth, AuthIdentity etc.
  2. Maybe there is some way to keep the current local database (fill the tables with the actual data) and deploy this one.
What would be the easiest and what are your recommendations?
Was this page helpful?