connessione con hardware in assets
This commit is contained in:
@@ -8,6 +8,10 @@ CREATE TABLE IF NOT EXISTS `glpi_plugin_urbackup_configs` (
|
||||
KEY `name` (`name`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- Default configuration: UrBackup tab on Computer is enabled by default.
|
||||
-- Can be changed from the plugin configuration page.
|
||||
INSERT INTO `glpi_plugin_urbackup_configs` (`name`, `value`) VALUES ('enable_computer', '1');
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `glpi_plugin_urbackup_servers` (
|
||||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`entities_id` INT UNSIGNED NOT NULL DEFAULT 0,
|
||||
@@ -27,6 +31,8 @@ CREATE TABLE IF NOT EXISTS `glpi_plugin_urbackup_servers` (
|
||||
`last_api_message` TEXT DEFAULT NULL,
|
||||
`last_api_check` TIMESTAMP NULL DEFAULT NULL,
|
||||
`comment` TEXT DEFAULT NULL,
|
||||
`host_itemtype` VARCHAR(255) DEFAULT NULL,
|
||||
`host_items_id` INT UNSIGNED NOT NULL DEFAULT 0,
|
||||
`date_creation` TIMESTAMP NULL DEFAULT NULL,
|
||||
`date_mod` TIMESTAMP NULL DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
@@ -35,7 +41,8 @@ CREATE TABLE IF NOT EXISTS `glpi_plugin_urbackup_servers` (
|
||||
KEY `locations_id` (`locations_id`),
|
||||
KEY `users_id` (`users_id`),
|
||||
KEY `is_active` (`is_active`),
|
||||
KEY `location_active` (`locations_id`, `is_active`)
|
||||
KEY `location_active` (`locations_id`, `is_active`),
|
||||
KEY `host_asset` (`host_itemtype`, `host_items_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `glpi_plugin_urbackup_serverassets` (
|
||||
|
||||
Reference in New Issue
Block a user