From b290e7e52bbd96222922583d8d053d18ff38a44a Mon Sep 17 00:00:00 2001 From: Thomas Chevalier Date: Wed, 22 Jun 2022 16:17:13 +0200 Subject: [PATCH] Drop model table if exists --- pgsql-schema.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pgsql-schema.sql b/pgsql-schema.sql index fc3d5ac..b9ab87e 100644 --- a/pgsql-schema.sql +++ b/pgsql-schema.sql @@ -38,7 +38,8 @@ CREATE TABLE IF NOT EXISTS ct_logs ( -- Table used to build the argument list passed by ulog -- It contains the flow_{start, end}_{sec, usec} variables -- instead of the timestamps -CREATE TABLE IF NOT EXISTS ulog2_ct_model ( +DROP TABLE IF EXISTS ulog2_ct_model; +CREATE TABLE ulog2_ct_model ( ct_id bigint PRIMARY KEY UNIQUE NOT NULL, oob_family smallint default NULL, orig_ip_saddr_str inet default NULL,