This fixes compatibility between 'db_reset' and 'db_migrate'