public function create($name, $path, $table = null, $create = false)
    {
        $this->ensureMigrationDoesntAlreadyExist($name, $path);

        $stub = $this->getStubContent($table, $create);

        $populatedStub = $this->populateStub($name, $stub, $table);

        $path = $this->getPath($name, $path);

        file_put_contents($path, $populatedStub);

        return $path;
    }