customizing model table name

Submitted by uniqueginun - 2 months ago

set custom table name for eloquent model

<?php

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