Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
opennsa3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michal Hažlinský
opennsa3
Commits
929d05a7
Commit
929d05a7
authored
9 years ago
by
Henrik Thostrup Jensen
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
datafiles/schema.sql
+4
-4
4 additions, 4 deletions
datafiles/schema.sql
with
4 additions
and
4 deletions
datafiles/schema.sql
+
4
−
4
View file @
929d05a7
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment