UserZ.php 269 B

12345678910111213141516
  1. <?php
  2. namespace App\Models;
  3. //use Illuminate\Database\Eloquent\SoftDeletes;
  4. use Illuminate\Database\Eloquent\Model;
  5. class UserZ extends Model{
  6. // use SoftDeletes;
  7. protected $connection = 'mysql_z';
  8. protected $table='user';
  9. protected $guarded=[];
  10. }