added not null constraints on invoice activities