Sync/DiffProvider/SyncJobs/TableManager.php
public function createTable($connection = null)
    {
        $connection = $connection ? : $this->connection;
        $schemaManager = $connection->getSchemaManager();

        if ($schemaManager->tablesExist([$this->tableName])) {
            return null;
        }

        $table = new Table($this->tableName);
        $this->buildTable($table);
        $schemaManager->createTable($table);

        return true;
    }
public function createTable($connection = null)
    {
        $connection = $connection ? : $this->connection;
        $schemaManager = $connection->getSchemaManager();

        if ($schemaManager->tablesExist([$this->tableName])) {
            return null;
        }

        $table = new Table($this->tableName);
        $this->buildTable($table);
        $schemaManager->createTable($table);

        return true;
    }
Creates table for sync jobs.

@param Connection|null $connection

@return bool|null