DO NOT TOUCH (lemmy.world)
submitted 3 years ago* (last edited 3 years ago) by to c/programminghumor@lemmy.world
 

Edit: so im done with my preliminary research into this codebase.

Our corporate SSO provider is changing, so I've been updating our tools to take advantage of the new badges. I found this in a web application that I started on today. The original developer is long gone, and according to our PaaS, this app has been running for just under 3 years without an update.

There is no CI/CD, blue-green deployment, or back ups. The database is an H2 db with ddl-auto set to create-drop on startup, meaning that this database will delete itself if the app is restaged but thanks to this guys code, it won't populate itself. 🤷

1 comment

sorted by: hot top controversial new old
[–] 1 point 3 years ago

Dropping the database is not recoverable

This is the real problem

  • source