Skip to content

backpack:crud SomeEntity throws an error in mongodb Β #157

@pxpm

Description

@pxpm

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.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions