Drop table cascade

This commit is contained in:
Thomas Chevalier 2022-06-22 15:41:47 +02:00
parent 9c48eda057
commit 8833fb961d

View file

@ -84,7 +84,7 @@ CREATE TABLE IF NOT EXISTS ulog2_ct_model (
-- Helper tables
--
DROP TABLE IF EXISTS ip_proto;
DROP TABLE IF EXISTS ip_proto CASCADE;
CREATE TABLE ip_proto (
proto_id serial PRIMARY KEY UNIQUE NOT NULL,
proto_name varchar(16) default NULL,
@ -105,7 +105,7 @@ INSERT INTO ip_proto (proto_id,proto_name,proto_desc) VALUES
(132,'sctp','Stream Control Transmission Protocol'),
(58,'ipv6-icmp','ICMP for IPv6');
DROP TABLE IF EXISTS ct_event;
DROP TABLE IF EXISTS ct_event CASCADE;
CREATE TABLE ct_event (
event_id serial PRIMARY KEY UNIQUE NOT NULL,
event_name varchar(16) default NULL