Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
unstable
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PROINFODATA
unstable
Commits
087eb6ff
Commit
087eb6ff
authored
Mar 1, 2013
by
Pedro Eugenio Rocha
Browse files
Options
Downloads
Patches
Plain Diff
Add rejected_net_usage table for invalid data
parent
3ac322fb
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
database/create/001-proinfo-oltp.sql
+14
-1
14 additions, 1 deletion
database/create/001-proinfo-oltp.sql
with
14 additions
and
1 deletion
database/create/001-proinfo-oltp.sql
+
14
−
1
View file @
087eb6ff
...
@@ -18,6 +18,17 @@ CREATE TABLE proinfo_inventory (
...
@@ -18,6 +18,17 @@ CREATE TABLE proinfo_inventory (
extra_hds
SMALLINT
DEFAULT
0
NOT
NULL
extra_hds
SMALLINT
DEFAULT
0
NOT
NULL
);
);
CREATE
TABLE
proinfo_net_usage
(
contact_date
date
default
CURRENT_DATE
not
null
,
inep
CHARACTER
VARYING
(
18
)
not
null
,
macaddr
CHARACTER
VARYING
(
18
)
not
null
,
collect_time
TIME
WITHOUT
TIME
ZONE
,
down_kbits
BIGINT
,
down_packages
INTEGER
,
up_kbits
BIGINT
,
up_packages
INTEGER
);
CREATE
TABLE
rejected_inventory
(
CREATE
TABLE
rejected_inventory
(
id
INTEGER
,
id
INTEGER
,
sch_id
INTEGER
,
sch_id
INTEGER
,
...
@@ -40,7 +51,9 @@ CREATE TABLE rejected_inventory (
...
@@ -40,7 +51,9 @@ CREATE TABLE rejected_inventory (
extra_hds
SMALLINT
extra_hds
SMALLINT
);
);
CREATE
TABLE
proinfo_net_usage
(
CREATE
TABLE
rejected_net_usage
(
sch_id
INTEGER
,
cit_id
INTEGER
,
contact_date
date
default
CURRENT_DATE
not
null
,
contact_date
date
default
CURRENT_DATE
not
null
,
inep
CHARACTER
VARYING
(
18
)
not
null
,
inep
CHARACTER
VARYING
(
18
)
not
null
,
macaddr
CHARACTER
VARYING
(
18
)
not
null
,
macaddr
CHARACTER
VARYING
(
18
)
not
null
,
...
...
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