database changes, added unique, not null, and check constraints to attributes