added referential integrity between program tables and recording tables
and live stream table with cascading deletes