Why It's So Hard to Add a Column in the Middle of a PostgreSQL Table (opens in new tab)
PostgreSQL has no ADD COLUMN ... AFTER. The reason one little number in a system catalog turned a "simple" feature into a decade-long engineering saga, and what you can do about it today.
Read the original article