Refactor Pattern.toggleArchive action
Add Pattern.created_at, .updated_at