Browse Source

Create table if not exists

master
Thomas Chevalier 4 years ago
parent
commit
ca0e527fdd
  1. 5
      pgsql-schema.sql

5
pgsql-schema.sql

@ -8,13 +8,10 @@
-- - type 'integer' is used (we have to check for overflows ..) -- - type 'integer' is used (we have to check for overflows ..)
-- - type 'datetime' has been replaced by 'timestamp' -- - type 'datetime' has been replaced by 'timestamp'
DROP TABLE IF EXISTS ulog2_ct CASCADE;
-- --
-- conntrack -- conntrack
-- --
CREATE TABLE ulog2_ct ( CREATE TABLE IF NOT EXISTS ulog2_ct (
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