Dealing with breaking migrations is hard with or without types, but I agree that having database schema catches this sooner and more reliably (analogous to say having API schema and catching breaking changes by diffing).
But from what I've seen using schema to enforce data consistency brings more problems than benefits.
But from what I've seen using schema to enforce data consistency brings more problems than benefits.