protected function compileMigrationStub() { $stub = $this->files->get(substr(__DIR__, 0, -5) . 'Stubs/migration.stub'); $this->replaceSchema($stub); $this->buildStub($this->scaffoldCommandObj->getMeta(), $stub); return $stub; }