added migration to fix null values in db