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

Config is not deployed, migration crashes #2

Open
Xantios opened this issue Jul 3, 2022 · 0 comments
Open

Config is not deployed, migration crashes #2

Xantios opened this issue Jul 3, 2022 · 0 comments

Comments

@Xantios
Copy link

Xantios commented Jul 3, 2022

in the migration file we can find the following:

Schema::create(config('laravel-polymorphic-eav.attribute-table'), function (Blueprint $table) { and Schema::create(config('laravel-polymorphic-eav.value-table'), function (Blueprint $table) {

however, the README.md does not states how to export the config file included (php artisan vendor:publish --tag )
another viable solution would be to have the config use the second parameter for a default value.

Im willing to create a PR if you want :-)

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

No branches or pull requests

1 participant