src/Database/Migration/Generator/MySqlGenerator.php
protected function getCreateTable($output, $table, $tableName, $forceSave = false)
    {
        $output[] = $this->getTableVariable($table, $tableName);

        $alternatePrimaryKeys = $this->getAlternatePrimaryKeys($table);
        if (empty($alternatePrimaryKeys) || $forceSave) {
            $output[] = sprintf("%s\$table->save();", $this->ind2);
        }

        return $output;
    }
protected function getCreateTable($output, $table, $tableName, $forceSave = false)
    {
        $output[] = $this->getTableVariable($table, $tableName);

        $alternatePrimaryKeys = $this->getAlternatePrimaryKeys($table);
        if (empty($alternatePrimaryKeys) || $forceSave) {
            $output[] = sprintf("%s\$table->save();", $this->ind2);
        }

        return $output;
    }
protected function getCreateTable ( $ output , $ table , $ tableName , $ forceSave = false ) { $ output [ ] = $ this -> getTableVariable ( $ table , $ tableName ) ; $ alternatePrimaryKeys = $ this -> getAlternatePrimaryKeys ( $ table ) ; if ( empty ( $ alternatePrimaryKeys ) || $ forceSave ) { $ output [ ] = sprintf ( "%s\$table->save();" , $ this -> ind2 ) ; } return $ output ; }
Generate create table.

@param array $output
@param array $table
@param bool  $forceSave (false)

@return array
Generate create table .