Skip to content

The file resources/codegenerator-files/pfx_countries.json was not found! #22

@mohaghegh

Description

@mohaghegh

Hi
Thanks for this nice generator.

I'm using the Laravel Code generator to generate resources from my existing data tables.
this is the command:
php artisan create:resources Country --table-name pfx_countries --table-exists

But I get this exception:
The file resources/codegenerator-files/pfx_countries.json was not found!

It generates a file named countries.json in resource/codegenerator-files path.
Seems that --table-name parameter is not considered when naming the json fields file.

Best

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions