From 14a7bd3cf1d73fb8e4a1344d364bd82663d6e683 Mon Sep 17 00:00:00 2001 From: "WQY\\qiong" Date: Sat, 12 Nov 2022 08:26:10 +0800 Subject: [PATCH] Refine report schema --- script/sql/create/22.report.sql | 15 ++++----------- script/sql/drop/22.report.sql | 2 -- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/script/sql/create/22.report.sql b/script/sql/create/22.report.sql index 33c31a6..8f8273d 100644 --- a/script/sql/create/22.report.sql +++ b/script/sql/create/22.report.sql @@ -11,15 +11,8 @@ insert into report (key, value) values --, ('FILE', '') , ('STATUS', 'NO') , ('SUMMARY', 'YES') ---, ('MESSAGES', 'NO') -, ('ENERY', 'NO') -, ('NODES', 'NONE') -, ('LINKS', 'NONE') +, ('MESSAGES', 'YES') +, ('ENERY', 'YES') +, ('NODES', 'ALL') +, ('LINKS', 'ALL') ; - -create table variable_report -( - content text primary key -); - -insert into variable_report (content) values (''); diff --git a/script/sql/drop/22.report.sql b/script/sql/drop/22.report.sql index 1c99f4f..76d9cd2 100644 --- a/script/sql/drop/22.report.sql +++ b/script/sql/drop/22.report.sql @@ -1,5 +1,3 @@ -- [REPORT] -drop table if exists variable_report; - drop table if exists report;