This code is hard to read because of the number of directives, and is likely to change in the future because of Run the migrations during backup restoration.
For now, I am standardizing this to follow the web approach, to make testing easier.
Depends on D14517
We follow web approach so this comment is not needed anymore