plugin/exo/Installation/Updater/Updater060200.php
private function createTemporaryPicture()
    {
        $schema = $this->connection->getSchemaManager();
        if (!$schema->tablesExist('ujm_picture_temp')) {
            $this->log('Create ujm_picture_temp ...');
            $this->connection->exec('
                CREATE TABLE ujm_picture_temp (
                    id INT NOT NULL,
                    user_id INT DEFAULT NULL,
                    `label` VARCHAR(255) NOT NULL,
                    url VARCHAR(255) NOT NULL,
                    type VARCHAR(255) NOT NULL,
                    width INT NOT NULL,
                    height INT NOT NULL,
                    INDEX IDX_88AACC8AA76ED395 (user_id),
                    PRIMARY KEY(id)
                ) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB
            ');
        }

        $this->checkDocument();
    }
private function createTemporaryPicture()
    {
        $schema = $this->connection->getSchemaManager();
        if (!$schema->tablesExist('ujm_picture_temp')) {
            $this->log('Create ujm_picture_temp ...');
            $this->connection->exec('
                CREATE TABLE ujm_picture_temp (
                    id INT NOT NULL,
                    user_id INT DEFAULT NULL,
                    `label` VARCHAR(255) NOT NULL,
                    url VARCHAR(255) NOT NULL,
                    type VARCHAR(255) NOT NULL,
                    width INT NOT NULL,
                    height INT NOT NULL,
                    INDEX IDX_88AACC8AA76ED395 (user_id),
                    PRIMARY KEY(id)
                ) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB
            ');
        }

        $this->checkDocument();
    }
private function createTemporaryPicture ( ) { $ schema = $ this -> connection -> getSchemaManager ( ) ; if ( ! $ schema -> tablesExist ( 'ujm_picture_temp' ) ) { $ this -> log ( 'Create ujm_picture_temp ...' ) ; $ this -> connection -> exec ( '
                CREATE TABLE ujm_picture_temp (
                    id INT NOT NULL,
                    user_id INT DEFAULT NULL,
                    `label` VARCHAR(255) NOT NULL,
                    url VARCHAR(255) NOT NULL,
                    type VARCHAR(255) NOT NULL,
                    width INT NOT NULL,
                    height INT NOT NULL,
                    INDEX IDX_88AACC8AA76ED395 (user_id),
                    PRIMARY KEY(id)
                ) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB
            ' ) ; } $ this -> checkDocument ( ) ; }
create temporary table for picture in order to recover data.
create temporary table for picture in order to recover data .