Migration

abstract class Migration (View source)

Properties

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

Methods

string|null getConnection()

Get the migration connection name.

Details

string|null getConnection()

Get the migration connection name.

Return Value

string|null

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