public function createStorage($shopId = null, $connection = null)
    {
        $connection = $connection ? : $this->getConnection();
        $schemaManager = $connection->getSchemaManager();
        $tableName = $this->getTableName($shopId);

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

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

        return true;
    }
public function createStorage($shopId = null, $connection = null)
    {
        $connection = $connection ? : $this->getConnection();
        $schemaManager = $connection->getSchemaManager();
        $tableName = $this->getTableName($shopId);

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

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

        return true;
    }
{@inheritdoc}