Skip to content

Commit

Permalink
Fix: Add column hash_value to the tables results and report_host_details
Browse files Browse the repository at this point in the history
  • Loading branch information
timopollmeier authored May 23, 2023
2 parents 7d8dbc7 + 1531dd8 commit 41a645d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/manage_pg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2489,7 +2489,8 @@ create_tables ()
" owner integer REFERENCES users (id) ON DELETE RESTRICT,"
" date integer,"
" hostname text,"
" path text);");
" path text,"
" hash_value text);");

sql ("CREATE TABLE IF NOT EXISTS results_trash"
" (id SERIAL PRIMARY KEY,"
Expand Down Expand Up @@ -2619,7 +2620,8 @@ create_tables ()
" source_name text,"
" source_description text,"
" name text,"
" value text);");
" value text,"
" hash_value text);");

create_tables_nvt ("");

Expand Down

0 comments on commit 41a645d

Please sign in to comment.