changing the db type to have optimal nullable cases