-
Notifications
You must be signed in to change notification settings - Fork 310
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
Table names without schema #42
Comments
Just realized the issue arises since I extend the models, it picks the new class' name as table name.
should allow third value e.g. Once again greatful for the good job you guys are doing with this library. |
This is interesting. Right now, what you can do is add the property |
Thanks for the reply. Having lots of models extended, was avoiding going through each class adding the |
I've merged your PR. I'm closing this issue. Thanks! |
Am working on a dynamic database system that changes DB depending on user organization,
How do I remove the schema from the model table name;
From;
protected $table = 'schema.table_name';
to;
protected $table = 'table_name';
Will appreciate, quite stuck with this after hours of debugging.
Regards.
The text was updated successfully, but these errors were encountered: