CREATE TABLE IF NOT EXISTS `glpi_plugin_netconfig_configs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `networkdevices_id` int unsigned NOT NULL DEFAULT '0',
  `config_content` mediumtext NOT NULL,
  `config_hash` char(64) NOT NULL,
  `is_encrypted` tinyint NOT NULL DEFAULT '1',
  `created_at` datetime NOT NULL,
  `users_id` int unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `networkdevices_id` (`networkdevices_id`),
  KEY `created_at` (`created_at`),
  KEY `config_hash` (`config_hash`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
