mirror of
https://github.com/modrinth/code.git
synced 2026-08-24 16:44:51 +00:00
* fix: file attribution scanning not marking completed files * Clean up unused attribution files/groups on deletion * prepare * Handle file scan failures gracefully with tracking
13 lines
675 B
JSON
13 lines
675 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n DELETE FROM project_attribution_files paf\n USING project_attribution_groups pag\n WHERE pag.id = paf.group_id\n AND NOT EXISTS (\n SELECT 1\n FROM override_file_sources ofs\n INNER JOIN files f ON f.id = ofs.file_id\n INNER JOIN versions v ON v.id = f.version_id\n WHERE ofs.sha1 = paf.sha1\n AND v.mod_id = pag.project_id\n )\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": []
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "d46c53877e97d54f38895f070bdc0a2417ba87ecac65edd03e8dc7a677f5efa9"
|
|
}
|