v.0.1
This commit is contained in:
30
vendor/illuminate/database/Migrations/Migration.php
vendored
Executable file
30
vendor/illuminate/database/Migrations/Migration.php
vendored
Executable file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Database\Migrations;
|
||||
|
||||
abstract class Migration
|
||||
{
|
||||
/**
|
||||
* The name of the database connection to use.
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
protected $connection;
|
||||
|
||||
/**
|
||||
* Enables, if supported, wrapping the migration within a transaction.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $withinTransaction = true;
|
||||
|
||||
/**
|
||||
* Get the migration connection name.
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getConnection()
|
||||
{
|
||||
return $this->connection;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user