Update schema.sql

Added ON UPDATE and ON DELETE clauses to FOREIGN KEYS.