laravel / pennant

A simple, lightweight library for managing feature flags.
https://laravel.com/docs/pennant
MIT License
478 stars 49 forks source link

Fix table name not being used and migration error #36

Closed bankorh closed 1 year ago

bankorh commented 1 year ago

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.