Adding constraints to data model

Added the constraints to all tables within the data model