Open yruama opened 6 years ago
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!