backup & removal scripts (internal to SourceForge at the moment) rely on querying collections by project_id if it has that in its ming schema. ShortlinkDoc and Notification have such, but they don't have indexes on project_id so the queries are extremely slow. We should add indexes for them.
allura:cj/6226