errors migrating the database