Data automatically deleted from database

Are you using a PostgreSQL database on Heroku?

Yes

How does your code look like

May I send you the whole code via a zip file or just a specific file?

Zip is ok make sure that mode_modules and target is excluded

src.zip (247 KB)

Then problem is in application.properties

spring.jpa.hibernate.ddl-auto=create-drop

this will drop the database tables once you shutdown the app

use instead:

spring.jpa.hibernate.ddl-auto=update

Thanks

Is there any way of uploading changes without having to re-building the jdk and deploying the app again to heroku?

You could set this setting as environment variable

Replace . by _

Sorry but which is the specific setting that I have to set?

I’m a newbie and I am a little bit lost

spring.jpa.hibernate.ddl-auto=update

Thanks, and the one related to this?

Sorry for asking that much