Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add migration in advance of session properties PR - Part 2/2 #21777

Closed
wants to merge 2 commits into from

Conversation

robbie-c
Copy link
Member

@robbie-c robbie-c commented Apr 23, 2024

Problem

Previous migration (here #21703) was part 1 of 2

Changes

Run a migration to validate the previously unvalidated constraint. More info here https://www.postgresql.org/docs/current/sql-altertable.html#SQL-ALTERTABLE-NOTES but this only gets a SHARE UPDATE EXCLUSIVE lock, which means that this doesn't prevent inserts/updates.

Does this work well for both Cloud and self-hosted?

yes

How did you test this code?

ran the migration locally, plus tests pass :)

@robbie-c robbie-c changed the title Add migration in advance of session properties PR feat: Add migration in advance of session properties PR - Part 2/2 Apr 23, 2024
Base automatically changed from add-migration-for-session-property-values to master April 24, 2024 09:37
@robbie-c robbie-c force-pushed the add-migration-for-session-property-values-2 branch from b1a849f to c55888e Compare April 24, 2024 10:40
@robbie-c robbie-c requested a review from neilkakkar April 24, 2024 10:41
@posthog-bot
Copy link
Contributor

This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in another week.

@posthog-bot
Copy link
Contributor

This PR was closed due to lack of activity. Feel free to reopen if it's still relevant.

@posthog-bot posthog-bot closed this May 9, 2024
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.

3 participants