Skip to content

Commit

Permalink
Merge pull request #2721 from alphagov/fix-whitehall-sql
Browse files Browse the repository at this point in the history
Fix sqlfluff lint error
  • Loading branch information
theseanything authored Oct 22, 2024
2 parents 39af694 + 61de9be commit 6d9ad3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/db-backup/scripts/whitehall.sql
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ WHERE id IN (
SELECT attachments.attachment_data_id
FROM
attachments WHERE attachments.attachable_type = 'Edition'
AND attachments.attachable_id IN (SELECT id FROM editions WHERE access_limited = 1)
AND attachments.attachable_id IN (SELECT editions.id FROM editions WHERE editions.access_limited = 1)
);

-- Redact govspeak content data for access-limited editions.
Expand Down

0 comments on commit 6d9ad3b

Please sign in to comment.