defining table in model laravel code example Example: laravel model tablename protected $table = 'DomainRelatedSettings';