src/Way/Generators/SchemaCreator.php
public function up(array $migrationData, array $fields = [])
    {
        $this->guardAction($migrationData['action']);

        $method = $migrationData['action'] . 'Factory';

        return $this->$method($migrationData, $fields);
    }
public function up(array $migrationData, array $fields = [])
    {
        $this->guardAction($migrationData['action']);

        $method = $migrationData['action'] . 'Factory';

        return $this->$method($migrationData, $fields);
    }
public function up ( array $ migrationData , array $ fields = [ ] ) { $ this -> guardAction ( $ migrationData [ 'action' ] ) ; $ method = $ migrationData [ 'action' ] . 'Factory' ; return $ this -> $ method ( $ migrationData , $ fields ) ; }
Build the string for the migration file "up" method

@param array $migrationData
@param array $fields
@throws Exception
@return mixed|string
Build the string for the migration file up method