Migrations do not honor the CASHIER_MODEL setting in cashier.php. They always assume the data is attached to users and user_id.
It can be worked around by disabling the migrations with Cashier::ignoreMigrations() and manually creating the tables.
Edit config/cashier.php to point CASHIER_MODEL and something else like App\Team::class and run php artisan migrate. The users table will be modified and the subscriptions table will have a user_id field instead of team_id.
You're suppose to publish the migrations if you want to update them. This can be done with php artisan vendor:publish --tag="cashier-migrations"
Also see the WIP pr for the docs (which detail this): https://github.com/laravel/docs/pull/5313
Thanks for helping out btw!
Most helpful comment
Thanks for helping out btw!