Eloquent Model Conventions: Database Connection

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Flight extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string
     */
    protected $connection = 'connection-name';
}

Eloquent Model Conventions: Database Connection — Structure map

Clickable & Draggable!

Eloquent Model Conventions: Database Connection — Related pages: