feat: Add migration in advance of session properties PR - Part 2/2
Problem
Previous migration (here https://github.com/PostHog/posthog/pull/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 :)
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.
This PR was closed due to lack of activity. Feel free to reopen if it's still relevant.