diff --git a/src/Scaffold/MigrationCreator.php b/src/Scaffold/MigrationCreator.php index 44a7ba1..30a50db 100644 --- a/src/Scaffold/MigrationCreator.php +++ b/src/Scaffold/MigrationCreator.php @@ -31,7 +31,7 @@ public function create($name, $path, $table = null, $create = true) $this->files->put($path, $this->populateStub($name, $stub, $table)); - $this->firePostCreateHooks(); + $this->firePostCreateHooks($table); return $path; }