Skip to content

There is no column with name 'id' on table #11

@hayleybech

Description

@hayleybech

When I try to run php artisan generate:factory Example I get a fatal error:

Doctrine\DBAL\Schema\SchemaException 
There is no column with name 'id' on table 'examples'.

I have run migrate:fresh and I'm reasonably confident the id column exists. This error happens for every model I try it on, meaning the factory generator is unusable for me until I can work out the solution.

Nothing turned up in existing issues or Google, do you have any idea why this could happening? Please let me know if there's any more information you need from me.

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