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.

bool
shouldRun()

Determine if this migration should run.

Details

string|null getConnection()

Get the migration connection name.

Return Value

string|null

bool shouldRun()

Determine if this migration should run.

Return Value

bool