Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(remote-server): store FQDN (fix #7615)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinsivy committed Jul 1, 2019
1 parent 85fbc39 commit 7d1a33d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion www/install/createTables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2373,7 +2373,7 @@ CREATE TABLE IF NOT EXISTS contact_feature (
-- Create remote servers table for keeping track of remote instances
CREATE TABLE IF NOT EXISTS `remote_servers` (
`id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`ip` VARCHAR(16) NOT NULL,
`ip` VARCHAR(255) NOT NULL,
`app_key` VARCHAR(40) NOT NULL,
`version` VARCHAR(16) NOT NULL,
`is_connected` TINYINT(1) NOT NULL DEFAULT 0,
Expand Down
4 changes: 4 additions & 0 deletions www/install/sql/centreon/Update-DB-19.04.3.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
--
-- Change IP field from varchar(16) to varchar(255)
--
ALTER TABLE `remote_servers` MODIFY COLUMN `ip` VARCHAR(255) NOT NULL;

0 comments on commit 7d1a33d

Please sign in to comment.