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

Parent on users table #182

Closed
IManAsap opened this issue Dec 4, 2020 · 3 comments
Closed

Parent on users table #182

IManAsap opened this issue Dec 4, 2020 · 3 comments

Comments

@IManAsap
Copy link

IManAsap commented Dec 4, 2020

Hello

My table has the name 'users',

If I use the following configuration

...
'transpeapppla' => [

    'users' => [
        'parent' => Illuminate\Foundation\Auth\User::class,
    ],
]
...

I get the following model

class User extends User
{
    protected $table = 'users';
...
}

With the following logical message

Class 'App\Models\Base\User' not found

Is that a bug?

@CristianLlanos
Copy link
Member

Can you show the full User class and also the resulting path?

@CristianLlanos
Copy link
Member

Fixed on version v0.0.19

@IManAsap
Copy link
Author

IManAsap commented Dec 8, 2020

Thanks

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

No branches or pull requests

2 participants