customizing model table name

Submitted by uniqueginun - 3 years ago

set custom table name for eloquent model

<?php

class User extends Model
{
    protected $table = 'users_table';
}