aron
aron
@timohuber Hmm, the implementation seems correct. Could you figure out where this reversal happens by logging? For example, is it reversed in `let execute ?ctx migrations = ...` already?
@timohuber Ah, I see. `top_sort_lifecycles` is necessary to sort the services based on their dependencies. So `user` depends on `email` (as each user should have an email address), which implies...
@timohuber Technically, if you [register your own services](https://github.com/oxidizing/sihl/blob/d1250a2ff807dd1731f6ccd6250061215cdf73bf/sihl/src/core_lifecycle.ml#L22) and make them dependent on the corresponding Sihl service it depends on, the migration should be run after the Sihl migration... Would...