Fix #1562 MigrationError