The ?????? should be the foreign key you are creating (your_key_name) between the tables. 'parent_id' in navigation is linked to 'id' in types. When the navigation table has an update or delete done, the delete/update is cascaded to the types table.
CONSTRAINT `navigate2types` FOREIGN KEY (`parent_id`)
REFERENCES `types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
Remember that you need to use the InnoDB storage engine.