Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
centreon
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
centreon
Commits
7a92082c
Unverified
Commit
7a92082c
authored
Mar 28, 2018
by
Matthieu Kermagoret
Committed by
GitHub
Mar 28, 2018
Browse files
Options
Downloads
Patches
Plain Diff
fix(install): remove unused fields from the `instances` table
parent
dc7224c6
Branches
Branches containing commit
Tags
4.3c
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
www/install/installBroker.sql
+1
-6
1 addition, 6 deletions
www/install/installBroker.sql
www/install/sql/centstorage/Update-CSTG-2.8.20_to_2.8.21.sql
+4
-0
4 additions, 0 deletions
www/install/sql/centstorage/Update-CSTG-2.8.20_to_2.8.21.sql
with
5 additions
and
6 deletions
www/install/installBroker.sql
+
1
−
6
View file @
7a92082c
...
@@ -377,10 +377,8 @@ CREATE TABLE `instances` (
...
@@ -377,10 +377,8 @@ CREATE TABLE `instances` (
`name`
varchar
(
255
)
NOT
NULL
DEFAULT
'localhost'
,
`name`
varchar
(
255
)
NOT
NULL
DEFAULT
'localhost'
,
`active_host_checks`
tinyint
(
1
)
DEFAULT
NULL
,
`active_host_checks`
tinyint
(
1
)
DEFAULT
NULL
,
`active_service_checks`
tinyint
(
1
)
DEFAULT
NULL
,
`active_service_checks`
tinyint
(
1
)
DEFAULT
NULL
,
`address`
varchar
(
128
)
DEFAULT
NULL
,
`check_hosts_freshness`
tinyint
(
1
)
DEFAULT
NULL
,
`check_hosts_freshness`
tinyint
(
1
)
DEFAULT
NULL
,
`check_services_freshness`
tinyint
(
1
)
DEFAULT
NULL
,
`check_services_freshness`
tinyint
(
1
)
DEFAULT
NULL
,
`daemon_mode`
tinyint
(
1
)
DEFAULT
NULL
,
`description`
varchar
(
128
)
DEFAULT
NULL
,
`description`
varchar
(
128
)
DEFAULT
NULL
,
`end_time`
int
(
11
)
DEFAULT
NULL
,
`end_time`
int
(
11
)
DEFAULT
NULL
,
`engine`
varchar
(
64
)
DEFAULT
NULL
,
`engine`
varchar
(
64
)
DEFAULT
NULL
,
...
@@ -391,7 +389,6 @@ CREATE TABLE `instances` (
...
@@ -391,7 +389,6 @@ CREATE TABLE `instances` (
`global_service_event_handler`
text
,
`global_service_event_handler`
text
,
`last_alive`
int
(
11
)
DEFAULT
NULL
,
`last_alive`
int
(
11
)
DEFAULT
NULL
,
`last_command_check`
int
(
11
)
DEFAULT
NULL
,
`last_command_check`
int
(
11
)
DEFAULT
NULL
,
`last_log_rotation`
int
(
11
)
DEFAULT
NULL
,
`modified_host_attributes`
int
(
11
)
DEFAULT
NULL
,
`modified_host_attributes`
int
(
11
)
DEFAULT
NULL
,
`modified_service_attributes`
int
(
11
)
DEFAULT
NULL
,
`modified_service_attributes`
int
(
11
)
DEFAULT
NULL
,
`notifications`
tinyint
(
1
)
DEFAULT
NULL
,
`notifications`
tinyint
(
1
)
DEFAULT
NULL
,
...
@@ -400,7 +397,6 @@ CREATE TABLE `instances` (
...
@@ -400,7 +397,6 @@ CREATE TABLE `instances` (
`passive_host_checks`
tinyint
(
1
)
DEFAULT
NULL
,
`passive_host_checks`
tinyint
(
1
)
DEFAULT
NULL
,
`passive_service_checks`
tinyint
(
1
)
DEFAULT
NULL
,
`passive_service_checks`
tinyint
(
1
)
DEFAULT
NULL
,
`pid`
int
(
11
)
DEFAULT
NULL
,
`pid`
int
(
11
)
DEFAULT
NULL
,
`process_perfdata`
tinyint
(
1
)
DEFAULT
NULL
,
`running`
tinyint
(
1
)
DEFAULT
NULL
,
`running`
tinyint
(
1
)
DEFAULT
NULL
,
`start_time`
int
(
11
)
DEFAULT
NULL
,
`start_time`
int
(
11
)
DEFAULT
NULL
,
`version`
varchar
(
16
)
DEFAULT
NULL
,
`version`
varchar
(
16
)
DEFAULT
NULL
,
...
@@ -700,4 +696,3 @@ UNLOCK TABLES;
...
@@ -700,4 +696,3 @@ UNLOCK TABLES;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */
;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */
;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */
;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */
;
This diff is collapsed.
Click to expand it.
www/install/sql/centstorage/Update-CSTG-2.8.20_to_2.8.21.sql
0 → 100644
+
4
−
0
View file @
7a92082c
ALTER
TABLE
`instances`
DROP
COLUMN
`address`
;
ALTER
TABLE
`instances`
DROP
COLUMN
`daemon_mode`
;
ALTER
TABLE
`instances`
DROP
COLUMN
`last_log_rotation`
;
ALTER
TABLE
`instances`
DROP
COLUMN
`process_perfdata`
;
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