You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, it is.
As per Laravel docs, you should just add a protected variable called $table and set it to the name of your table on the user model.
class User extends Model
{
protected $connection = 'myDB'; // If you want the specify your DB connection..
protected $table = 'my_users_table'; // Specifying the table
....
}
Is it possible to rename the table users ?
I already have a user table for my admin panel.
Thanks!
The text was updated successfully, but these errors were encountered: