158: Make schema and migration converge so the migration works
In the end, the order of the revision entry matters whether we select * or not. So the select must match the order defined in the revision_entry type type. Otherwise, a mismatch type error occurs [1]
- [1] psql:sql/upgrades/158.sql:74: ERROR: return type mismatch in function declared to return revision_entry
Note: it's been running on staging storage to unstuck the failed workers
Test Plan
tox
Migrated from D3504 (view on Phabricator)