From aa2d13b52d8bbbee704b9f58524640f7bbaa3ff6 Mon Sep 17 00:00:00 2001 From: dvppvd <119556950+dvppvd@users.noreply.github.com> Date: Tue, 23 May 2023 10:36:28 +0700 Subject: [PATCH] Add column hash_value to the tables results and report_host_details (cherry picked from commit 1531dd8f50235d4dea6e13982a009e85bf38d180) --- src/manage_pg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/manage_pg.c b/src/manage_pg.c index 41b7a4988..afcbe9129 100644 --- a/src/manage_pg.c +++ b/src/manage_pg.c @@ -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," @@ -2619,7 +2620,8 @@ create_tables () " source_name text," " source_description text," " name text," - " value text);"); + " value text," + " hash_value text);"); create_tables_nvt ("");