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

[14.x] Remove unique index from items table #1594

Merged
merged 2 commits into from
Oct 30, 2023
Merged

Commits on Oct 30, 2023

  1. Remove unique index from items table

    I stumbled upon an edge case where Stripe created a new subscription item for the same price ID. This means Cashier attempts to insert this while the unique constraint is active. Although it's unlikely this happens often (we only saw this just a couple of times) we shouldn't rely on this index anymore.
    driesvints authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    4680e3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1d5fe7 View commit details
    Browse the repository at this point in the history