You can find all Trac tickets containing attachments by doing the following steps:
select * from attachment
select * from attachment where type = 'ticket'
Please note that as the ticket reporting system was not really designed to perform non-ticket related queries, the hyperlinks in the “Id” column will not link to wiki pages correctly. From the link text however you can still determine which wiki page the attachment is included on. However the links to tickets should be correct.
You must be logged in to post a comment.