Skip to content

Add index to created_at on attachment and pictures tables#3370

Merged
tvdeyen merged 1 commit intomainfrom
created_at-index
Sep 5, 2025
Merged

Add index to created_at on attachment and pictures tables#3370
tvdeyen merged 1 commit intomainfrom
created_at-index

Conversation

@tvdeyen
Copy link
Copy Markdown
Member

@tvdeyen tvdeyen commented Sep 5, 2025

What is this pull request for?

We have the recent scope on the attachment and pictures models. Also the picture archive now defaults to sorting by recent images.

On large projects it should be a good idea to have an index on these columns.

It will add the index concurrently on Postgres.

Checklist

We have the recent scope on the attachment and pictures models.
Also the picture archive now defaults to sorting by recent images.

On large projects it should be a good idea to have an index on these
columns.

It will add the index concurrently on Postgres.
@tvdeyen tvdeyen requested a review from a team as a code owner September 5, 2025 14:25
@tvdeyen tvdeyen added this to the 8.0 milestone Sep 5, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.14%. Comparing base (7e196d6) to head (a94c7dc).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3370   +/-   ##
=======================================
  Coverage   97.14%   97.14%           
=======================================
  Files         277      277           
  Lines        7248     7248           
=======================================
  Hits         7041     7041           
  Misses        207      207           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tvdeyen tvdeyen merged commit ec99df6 into main Sep 5, 2025
18 checks passed
@tvdeyen tvdeyen deleted the created_at-index branch September 5, 2025 14:59
@alchemycms-bot alchemycms-bot bot mentioned this pull request Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants