Browse Source

Drop model table if exists

master
Thomas Chevalier 4 years ago
parent
commit
b290e7e52b
  1. 3
      pgsql-schema.sql

3
pgsql-schema.sql

@ -38,7 +38,8 @@ CREATE TABLE IF NOT EXISTS ct_logs (
-- Table used to build the argument list passed by ulog -- Table used to build the argument list passed by ulog
-- It contains the flow_{start, end}_{sec, usec} variables -- It contains the flow_{start, end}_{sec, usec} variables
-- instead of the timestamps -- 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, ct_id bigint PRIMARY KEY UNIQUE NOT NULL,
oob_family smallint default NULL, oob_family smallint default NULL,
orig_ip_saddr_str inet default NULL, orig_ip_saddr_str inet default NULL,

Loading…
Cancel
Save