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

Fix table name not being used and migration error #36

Merged
merged 2 commits into from
Feb 16, 2023

Conversation

bankorh
Copy link
Contributor

@bankorh bankorh commented Feb 16, 2023

The pennant config is using stores and same when creating driver in FeatureManager, however, when configuring database driver, it reads from drivers which is not found.

According to the docs, we were asked to run php artisan vendor:publish --provider="Laravel\Pennant\PennantServiceProvider" and the migration will be published to the base database/migrations directory.

And after that when we run php artisan migrate, both migration files will be ran and causes error.

The pennant config is using `stores` and same when creating driver in this file, however, when configuring database driver, it reads from `drivers` which is not found.
According to the docs, we were asked to run `php artisan vendor:publish --provider="Laravel\Pennant\PennantServiceProvider"` and the migration will be published to the base `database/migrations` directory.

And after that when we run `php artisan migrate`, both migration files will be ran and causes error.
@bankorh bankorh changed the title Fix table name not being used Fix table name not being used and migration error Feb 16, 2023
@taylorotwell taylorotwell merged commit 7095aa1 into laravel:1.x Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants