Avoids a DatabaseError when migrating with an empty value