Skip to content

Database factory, seeder and resource model_schemas should all respect scaffold --prefix #1069

Open
@billysmithers

Description

@billysmithers

When using the --prefix from the scaffold command.

Controllers, Requests, Models and Views respect the prefix.

However Database factories and seeders do not, this would be a case of merging the namespace prefix.

This is particularly of need to factories as Laravel convention for model discovery from the factory maps the factory namespace to the model namespace.

model_schemas could merge the views prefix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions