Fix migrations again (regression from 91c51acf6a).