A column changed type 8 days after I mapped it, and nothing told me
I was rewriting a Java/Spring backend to Go. The database wasn't going anywhere — it already existed, with real data in it, and eighteen tables' worth of history behind it. The plan was simple: keep the schema, replace the service layer. Early on, asset looked like this: CREATE TABLE `asset` ( `id` bigint NOT NULL AUTO_INCREMENT , ... `value` int NOT NULL , PRIMARY KEY ( `id` ) ); I mapped it to…
We haven't written up this one. Dev.to has the full story — the link below goes straight to it.