class Illuminate / Database / Migrations / Migration
abstract

Migration

Properties

protected

$connection string|null

The name of the database connection to use.

Default: null
public

$withinTransaction bool

Enables, if supported, wrapping the migration within a transaction.

Default: true

Methods

public

getConnection ( ) : string|null

Get the migration connection name.