added constraints
Merge branch 'master' of https://github.com/ankurt/Phase-2-311
added not null constraints to creating tables
removed references in pats_structure