When upgrading to a newer version of PostgreSQL, I started noticing random merge conflicts in db/structure.sql whenever I ran rails db:migrate . This happens in any Ruby on Rails app that uses SQL schema format instead of the default Ruby-based schema. The culprit?