12345678910111213141516171819202122232425262728293031 |
- <?php
-
- namespace Illuminate\Database\Migrations;
-
- abstract class Migration
- {
- /**
- * The name of the database connection to use.
- *
- * @var string
- */
- protected $connection;
-
- /**
- * Enables, if supported, wrapping the migration within a transaction.
- *
- * @var bool
- */
- public $withinTransaction = true;
-
- /**
- * Get the migration connection name.
- *
- * @return string
- */
- public function getConnection()
- {
- return $this->connection;
- }
- }
|