Add not null db constraints