Illuminate: ready. (critical)
- DB에서 illuminate를 가져올 수 있도록 설정 - 업그레이듵 불가, RootDB, DB를 직접 수정해야함
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Database\Events;
|
||||
|
||||
use Illuminate\Contracts\Database\Events\MigrationEvent as MigrationEventContract;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
abstract class MigrationEvent implements MigrationEventContract
|
||||
{
|
||||
/**
|
||||
* A migration instance.
|
||||
*
|
||||
* @var \Illuminate\Database\Migrations\Migration
|
||||
*/
|
||||
public $migration;
|
||||
|
||||
/**
|
||||
* The migration method that was called.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $method;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param \Illuminate\Database\Migrations\Migration $migration
|
||||
* @param string $method
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(Migration $migration, $method)
|
||||
{
|
||||
$this->method = $method;
|
||||
$this->migration = $migration;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user