Update CS336Schema.sql

add some triggers, not sure if they would work... need help...
Merge pull request #1 from ytian328/patch-1

Update CS336Schema.sql