Metadata for triggers

You'll also need to handle the triggers table not existing here.