Skip to content

Generate Eloquent Helper Code from Database? #163

@plweil

Description

@plweil

The docs indicate that there is an option to choose between migrations and the database to generate the Eloquent Helper code. But I don't see this option in Generate Eloquent Helper Code. It would be great to have this, since we are not using migrations in all of our projects. I'm using v3.5.0.202.

image

(Edit)
When I run the generator, I do get a new _ide_helper.php file, but I also get this response:

1:43 PM	Eloquent Helper Code generated successfully
			Eloquent models found: 34
			Tables not found for 33 models. Show.
			Don't show this again

All of these models have tables. I'm not sure whether I'm getting a complete _ide_helper.php file or a half-baked one. Can you please clarify what is going on here?

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