Skip to content

Conversation

@dkhalife
Copy link
Owner

@dkhalife dkhalife commented Jul 8, 2025

Summary

  • optimize tasks retrieval by adding an index on is_active

Testing

  • go test ./...

https://chatgpt.com/codex/tasks/task_e_686cb09aa260832abaff1e8f3eb1b502

Copilot AI review requested due to automatic review settings July 8, 2025 05:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR aims to optimize task retrieval queries by adding a database index on the is_active column of the tasks table.

  • Added a GORM index tag to the IsActive field in the Task model.

@codecov
Copy link

codecov bot commented Jul 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@dkhalife dkhalife merged commit 57251d4 into main Jul 8, 2025
5 checks passed
@dkhalife dkhalife deleted the codex/add-index-for-is_active-column branch July 8, 2025 05:52
dkhalife added a commit that referenced this pull request Oct 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants