DEV Community

Discussion on: A junior, a mid and a senior dev walk into a bar

Collapse
 
squidbe profile image
squidbe

We added the column in the database, but we never merged the code that handled this new data.
...
Not merging the code for the new fields wasn’t the problem though.

I understand your point about not using "select *", but saying the problem wasn't a result of not merging the code is definitely debatable. Try using something like Flyway. It greatly reduces the risks associated with migrations. There are other benefits, too, which you can read about on their site.