Migration

abstract class Migration (View source)

Properties

protected string $connection The name of the database connection to use.
bool $withinTransaction Enables, if supported, wrapping the migration within a transaction.

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.7/Illuminate/Database/Migrations/Migration.html