Skip to content

Config is not deployed, migration crashes #2

@Xantios

Description

@Xantios

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 :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions