<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class CityW extends Model{ protected $connection = 'mysql_w'; protected $table='city'; protected $guarded=[]; public $timestamps=false; }