Skip to content
Snippets Groups Projects
Commit 929d05a7 authored by Henrik Thostrup Jensen's avatar Henrik Thostrup Jensen
Browse files

allow null in for start and end time in db schema

parent 9a602f38
No related branches found
No related tags found
No related merge requests found
...@@ -39,8 +39,8 @@ CREATE TABLE service_connections ( ...@@ -39,8 +39,8 @@ CREATE TABLE service_connections (
dest_network text NOT NULL, dest_network text NOT NULL,
dest_port text NOT NULL, dest_port text NOT NULL,
dest_label label, dest_label label,
start_time timestamp, -- null = now start_time timestamp, -- null = immediate start
end_time timestamp NOT NULL, end_time timestamp, -- null = forever
symmetrical boolean NOT NULL, symmetrical boolean NOT NULL,
directionality directionality NOT NULL, directionality directionality NOT NULL,
bandwidth integer NOT NULL, -- mbps bandwidth integer NOT NULL, -- mbps
...@@ -92,8 +92,8 @@ CREATE TABLE generic_backend_connections ( ...@@ -92,8 +92,8 @@ CREATE TABLE generic_backend_connections (
dest_network text NOT NULL, dest_network text NOT NULL,
dest_port text NOT NULL, dest_port text NOT NULL,
dest_label label, dest_label label,
start_time timestamp NOT NULL, start_time timestamp, -- null = immediate start
end_time timestamp NOT NULL, end_time timestamp, -- null = forever
symmetrical boolean NOT NULL, symmetrical boolean NOT NULL,
directionality directionality NOT NULL, directionality directionality NOT NULL,
bandwidth integer NOT NULL, -- mbps bandwidth integer NOT NULL, -- mbps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment