Skip to content

Commit

Permalink
Update DC to 7.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanneuhaus committed Jan 8, 2023
1 parent efae4f3 commit 2109c92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ Updates of the Database are triggered on the hour. Note that the initial update

| Client | Server |
|-------------------:|--------:|
| `>= 7.1.1` | `7.1.1` |
| `[6.3.0; 7.1.0]` | `6.5.3` |
| `>= 7.4.4` | `7.4.4` |
| `[6.3.0; 7.4.3]` | `6.5.3` |
| `[6.1.3; 6.2.2]` | `6.2.0` |
| `[6.0.0; 6.1.1]` | `6.0.2` |
| `[5.0.0; 5.3.2.1]` | `5.0.0` |
Expand Down
10 changes: 5 additions & 5 deletions overlays/docker-entrypoint-initdb.d/initialize_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ CREATE TABLE cpeEntry (id INT auto_increment PRIMARY KEY, part CHAR(1), vendor V
version VARCHAR(255), update_version VARCHAR(255), edition VARCHAR(255), lang VARCHAR(20), sw_edition VARCHAR(255),
target_sw VARCHAR(255), target_hw VARCHAR(255), other VARCHAR(255), ecosystem VARCHAR(255));

CREATE TABLE software (cveid INT, cpeEntryId INT, versionEndExcluding VARCHAR(60), versionEndIncluding VARCHAR(60),
versionStartExcluding VARCHAR(60), versionStartIncluding VARCHAR(60), vulnerable BOOLEAN
CREATE TABLE software (cveid INT, cpeEntryId INT, versionEndExcluding VARCHAR(100), versionEndIncluding VARCHAR(100),
versionStartExcluding VARCHAR(100), versionStartIncluding VARCHAR(100), vulnerable BOOLEAN
, CONSTRAINT fkSoftwareCve FOREIGN KEY (cveid) REFERENCES vulnerability(id) ON DELETE CASCADE
, CONSTRAINT fkSoftwareCpeProduct FOREIGN KEY (cpeEntryId) REFERENCES cpeEntry(id));

Expand Down Expand Up @@ -178,8 +178,8 @@ CREATE PROCEDURE insert_software (
IN p_vulnerabilityId INT, IN p_part CHAR(1), IN p_vendor VARCHAR(255), IN p_product VARCHAR(255),
IN p_version VARCHAR(255), IN p_update_version VARCHAR(255), IN p_edition VARCHAR(255), IN p_lang VARCHAR(20),
IN p_sw_edition VARCHAR(255), IN p_target_sw VARCHAR(255), IN p_target_hw VARCHAR(255), IN p_other VARCHAR(255),
IN p_ecosystem VARCHAR(255), IN p_versionEndExcluding VARCHAR(50), IN p_versionEndIncluding VARCHAR(50),
IN p_versionStartExcluding VARCHAR(50), IN p_versionStartIncluding VARCHAR(50), IN p_vulnerable BOOLEAN)
IN p_ecosystem VARCHAR(255), IN p_versionEndExcluding VARCHAR(100), IN p_versionEndIncluding VARCHAR(100),
IN p_versionStartExcluding VARCHAR(100), IN p_versionStartIncluding VARCHAR(100), IN p_vulnerable BOOLEAN)
BEGIN

DECLARE cpeId INT DEFAULT 0;
Expand Down Expand Up @@ -250,4 +250,4 @@ BEGIN
END //
DELIMITER ;

INSERT INTO properties(id, value) VALUES ('version', '5.2.1');
INSERT INTO properties(id, value) VALUES ('version', '5.3');

0 comments on commit 2109c92

Please sign in to comment.