abstract class PennantMigration extends Migration

Properties

protected string|null $connection

The name of the database connection to use.

from  Migration
bool $withinTransaction

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

from  Migration

Methods

string|null
getConnection()

Get the migration connection name.

bool
shouldRun()

Determine if this migration should run.

Details

at line 14
string|null getConnection()

Get the migration connection name.

Return Value

string|null

in Migration at line 30
bool shouldRun()

Determine if this migration should run.

Return Value

bool