class Illuminate / Database / Migrations / Migration
You are viewing an older version of the documentation. For the latest, please visit master documentation.
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.