Skip to content

feat: add index on channelId for SelectedCalendar#27403

Merged
volnei merged 1 commit intomainfrom
feat/add-selected-calendar-channel-id-index
Jan 29, 2026
Merged

feat: add index on channelId for SelectedCalendar#27403
volnei merged 1 commit intomainfrom
feat/add-selected-calendar-channel-id-index

Conversation

@volnei
Copy link
Copy Markdown
Contributor

@volnei volnei commented Jan 29, 2026

Summary

  • Add database index on channelId column in SelectedCalendar table
  • Improves lookup performance for watched calendar channel queries

Test plan

  • Migration runs successfully: yarn workspace @calcom/prisma db-migrate
  • Verify index exists: \d "SelectedCalendar" in psql

Add database index on the channelId column in the SelectedCalendar
table to improve lookup performance for watched calendar channels.
@github-actions github-actions bot added the ❗️ migrations contains migration files label Jan 29, 2026
@volnei volnei marked this pull request as ready for review January 29, 2026 20:26
@volnei volnei requested a review from a team as a code owner January 29, 2026 20:26
@volnei volnei enabled auto-merge (squash) January 29, 2026 20:26
@graphite-app graphite-app bot added foundation core area: core, team members only labels Jan 29, 2026
Copy link
Copy Markdown
Contributor

@emrysal emrysal left a comment

Choose a reason for hiding this comment

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

lgtm, needed 👍

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

@volnei volnei merged commit 47becd4 into main Jan 29, 2026
87 of 90 checks passed
@volnei volnei deleted the feat/add-selected-calendar-channel-id-index branch January 29, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only foundation ❗️ migrations contains migration files ready-for-e2e size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants