Stop database from resetting on build [Starter project]

I notice that every time I restart the server or rebuild the project, the database pretty much “resets” in the sense that it removes all data and tables, then recreates them again through the classes in the entity package and inserts the default data from resources/data.sql. I know that I can add new data or modify existing data through the UI, but the changes are not permanent. How can I make them permanent?

Dumb question answered. The starter project uses a H2 database whose data does not persist across restarts. The solution is to use a database called not H2


There are no dumb questions on this discord. Sometimes just writing down the question is all that’s needed to come up with the solution :slightly_smiling_face: :duck:

very true. Thank you very much.