From ca0e527fdd8507d7aa0611688f58cab1e7abbbfe Mon Sep 17 00:00:00 2001 From: Thomas Chevalier Date: Tue, 21 Jun 2022 21:13:46 +0200 Subject: [PATCH] Create table if not exists --- pgsql-schema.sql | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pgsql-schema.sql b/pgsql-schema.sql index 649bda1..dde5514 100644 --- a/pgsql-schema.sql +++ b/pgsql-schema.sql @@ -8,13 +8,10 @@ -- - type 'integer' is used (we have to check for overflows ..) -- - type 'datetime' has been replaced by 'timestamp' - -DROP TABLE IF EXISTS ulog2_ct CASCADE; - -- -- conntrack -- -CREATE TABLE ulog2_ct ( +CREATE TABLE IF NOT EXISTS ulog2_ct ( ct_id bigint PRIMARY KEY UNIQUE NOT NULL, oob_family smallint default NULL, orig_ip_saddr_str inet default NULL,