src/CsvMigration.php
public function csv(Table $table, string $path = '') : Table
    {
        $this->factory = new FieldHandlerFactory();
        $this->table = $table;
        $this->handleCsv();

        return $this->table;
    }
public function csv(Table $table, string $path = '') : Table
    {
        $this->factory = new FieldHandlerFactory();
        $this->table = $table;
        $this->handleCsv();

        return $this->table;
    }
public function csv ( Table $ table , string $ path = '' ) : Table { $ this -> factory = new FieldHandlerFactory ( ) ; $ this -> table = $ table ; $ this -> handleCsv ( ) ; return $ this -> table ; }
Method that handles migrations using JSON file.

@param \Migrations\Table $table Migrations table object
@param string $path JSON File path
@return \Migrations\Table
Method that handles migrations using JSON file .