From 5cf0bbf5f960836321a49e52796a617ffada6236 Mon Sep 17 00:00:00 2001 From: siyang <2337720667@qq.com> Date: Wed, 14 Aug 2024 15:04:10 +0800 Subject: [PATCH] =?UTF-8?q?filter=5Flog=E5=94=AF=E4=B8=80=E9=94=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- help/sql/ddl_1.0.0.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/help/sql/ddl_1.0.0.sql b/help/sql/ddl_1.0.0.sql index 4590e81..2f6f492 100644 --- a/help/sql/ddl_1.0.0.sql +++ b/help/sql/ddl_1.0.0.sql @@ -1983,6 +1983,8 @@ COMMENT ON COLUMN "public"."filter_log"."updater" IS '更新人'; COMMENT ON COLUMN "public"."filter_log"."update_date" IS '更新时间'; COMMENT ON TABLE "public"."filter_log" IS '过滤日志表'; +alter table public.filter_log add constraint filter_log_uk unique (filter_rule_id, time); + -- ---------------------------- -- Table structure for filter_rule -- ----------------------------