Skip to content

Drop large user_id, last_sign_in_at DESC index on email_addresses#7299

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/drop-email-addresses-user-id-last-signed-in-at-index
Nov 8, 2022
Merged

Drop large user_id, last_sign_in_at DESC index on email_addresses#7299
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/drop-email-addresses-user-id-last-signed-in-at-index

Conversation

@mitchellhenke
Copy link
Contributor

🛠 Summary of changes

This is the follow-up PR to #7298 that drops the large and write-heavy index on email_addresses.

This PR should not be merged until #7298 is deployed. It is in theory safe to deploy both changes together since the second migration won't run if the first one fails, but this is erring on the side of caution.

@mitchellhenke mitchellhenke changed the base branch from main to mitchellhenke/add-email-addresses-user-id-index November 4, 2022 21:50
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/add-email-addresses-user-id-index branch from fa3e44b to 7e3ffa5 Compare November 7, 2022 14:28
Base automatically changed from mitchellhenke/add-email-addresses-user-id-index to main November 7, 2022 14:50
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/drop-email-addresses-user-id-last-signed-in-at-index branch from ce316b9 to d0a99fb Compare November 7, 2022 18:28
changelog: Internal, Database, Drop large user_id last_sign_in_at DESC index on email_addresses
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/drop-email-addresses-user-id-last-signed-in-at-index branch from d0a99fb to 79bb8a3 Compare November 7, 2022 20:45
@mitchellhenke
Copy link
Contributor Author

#7298 was deployed in #7308

@mitchellhenke mitchellhenke merged commit 79fd388 into main Nov 8, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/drop-email-addresses-user-id-last-signed-in-at-index branch November 8, 2022 14:27
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