How to update live app and database? (Deployment workflow)

Hi!

Currently developing with docker desktop, but today I decided to set up a remote target so that I can share app progress with people.

I set up a new remote (staging) target with Linode, the app is running now on the remote target but it created a new blank database.

  • How do I “synchronise” / change / update the database schema structure from development to the remote target database?
  • Will in the future data in the live database be safe when pushing new changes and updates from development to the live target?
  • What is the best workflow for all this… dev/staging/production etc…

Thanks!

To get the schema transferred you need to right click on the changes in the database tab while on your remote target and select apply latest

The data should be completely seperate from development as data is done using seeds I think never done data myself

1 Like

Thank you, didn’t see that option