You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to rollback the migrations generated with Laravel Cashier, it fails with the following error:
SQLSTATE[HY000]: General error: 1 no such index: stripe_id (Connection: sqlite, SQL: drop index "stripe_id")
I am using SQLite in testing environment and actually have a testsuite for testing my migrations and their rollback ability.
I am ensure if this is considered a bug, a.k.a. is cashier supposed to support SQLite (or maybe I missed something and the error is on my end).
If you feel Cashier should behave properly with SQLite and the migrate/rollback behavior should work out of the box, I can have a more in-depth look and issue a PR.
Steps To Reproduce
create a new project and add cashier
import publish the migrations (php artisan vendor:publish --tag="cashier-migrations")
define the database connection to SQLite
attempt to rollback the migrations (php artisan migrate:rollback)
The text was updated successfully, but these errors were encountered:
Cashier Stripe Version
15.4.1
Laravel Version
11.18.1
PHP Version
8.3
Database Driver & Version
SQLite 3
Description
When attempting to rollback the migrations generated with Laravel Cashier, it fails with the following error:
I am using SQLite in testing environment and actually have a testsuite for testing my migrations and their rollback ability.
I am ensure if this is considered a bug, a.k.a. is cashier supposed to support SQLite (or maybe I missed something and the error is on my end).
If you feel Cashier should behave properly with SQLite and the migrate/rollback behavior should work out of the box, I can have a more in-depth look and issue a PR.
Steps To Reproduce
php artisan vendor:publish --tag="cashier-migrations"
)php artisan migrate:rollback
)The text was updated successfully, but these errors were encountered: