DbFiles
extends Migration
in package
Table of Contents
- $withinTransaction : bool
- Enables, if supported, wrapping the migration within a transaction.
- $connection : string
- The name of the database connection to use.
- down() : mixed
- getConnection() : string
- Get the migration connection name.
- up() : mixed
Properties
$withinTransaction
Enables, if supported, wrapping the migration within a transaction.
public
bool
$withinTransaction
= true
$connection
The name of the database connection to use.
protected
string
$connection
Methods
down()
public
down() : mixed
Return values
mixed —getConnection()
Get the migration connection name.
public
getConnection() : string
Return values
string —up()
public
up() : mixed