HomeSoftware Heritage

158: Make schema and migration converge so the migration works

Description

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

Details