Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backpack:crud SomeEntity throws an error in mongodb #157

Open
pxpm opened this issue Oct 7, 2022 · 0 comments
Open

backpack:crud SomeEntity throws an error in mongodb #157

pxpm opened this issue Oct 7, 2022 · 0 comments

Comments

@pxpm
Copy link
Contributor

pxpm commented Oct 7, 2022

Installed mongo db and backpack. Everything went smooth.

Tried to create a crud with php artisan backpack:crud Article.

image

It seems the error is raised on this line

$attributes = \Schema::getColumnListing($model->getTable());

I think there is a bigger issue in general, and I am not sure we can easily fix it, since ALL mongodb models should extend Jenssegers\Mongodb\Eloquent\Model and not the regular Laravel\Model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants