dusterio/lumen-passport

Call to undefined method Dusterio\LumenPassport\LumenPassport::ignoreMigrations()

sooxt98 opened this issue · 7 comments

Call to undefined method Dusterio\LumenPassport\LumenPassport::ignoreMigrations()

You need to add a back slash in front of the call. Like so:

before: Dusterio\LumenPassport\LumenPassport::ignoreMigrations()

after: \Dusterio\LumenPassport\LumenPassport::ignoreMigrations()

That should do the trick, should be updated in the README

@theissn no, not woking at all.
image

Ahh got you mate.

Didn’t read the issue properly.

I thought you were trying to run the routes method.

I don’t think the ignore migrations method has been implemented in this package though.

You can try running the method directly from the laravel package.

Laravel\Passport\Passport::ignoreMigrations()

Not sure it’ll work but worth a shot.

@theissn Tried that before, it just doesn't ignore the table

Hmm might have to add the method to the LumenPassport class then.

Unless you’re up for doing it, I can do it either tonight or tomorrow.

@theissn tried that before still cannot :)

Ahh, that’s no good then. Can’t think of anything else at the moment then mate :)