Add build collection and user tables to database

o Additional database constraints
o Update JPA entities