Adds supporting SQL for event resources. Refs #110