Make db fields not null