Skip to content

Commit

Permalink
Update UPGRADE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored Dec 27, 2024
1 parent 9f2d08e commit d00d938
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,24 @@ PR: https://github.com/laravel/cashier-stripe/pull/1529

The `deleted` status on invoices no longer exists and therefore its corresponding method has been removed.

## Upgrading To v14.12.11 from v14.12.10

### Remove unique index from items table

PR: https://github.com/laravel/cashier-stripe/pull/1594

The unique constraint on the `subscription_items` table was converted to a regular index. You can use the below migration to adjust this:

```php
public function up()
{
Schema::table('subscription_items', function (Blueprint $table) {
$table->dropUnique(['subscription_id', 'stripe_price']);
$table->index(['subscription_id', 'stripe_price']);
});
}
```

## Upgrading To 14.12.2 From 14.12

### Webhook Added
Expand Down

0 comments on commit d00d938

Please sign in to comment.