laravel / 5.2.31 / api / 5.2 / illuminate / database / migrations / migration.html /

Migration

class Migration (View source)

Properties

protected string $connection The name of the database connection to use.

Methods

string getConnection()

Get the migration connection name.

Details

string getConnection()

Get the migration connection name.

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.2/Illuminate/Database/Migrations/Migration.html