From c319c30e24f5f80e4b4fe39dbc0e892f3c0f394b Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Thu, 24 Feb 2022 13:58:04 +0100 Subject: [PATCH] added new field to ipam vlan --- pandora_console/extras/mr/53.sql | 2 +- pandora_console/pandoradb.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/extras/mr/53.sql b/pandora_console/extras/mr/53.sql index de652ab01e..4b22cf61ba 100644 --- a/pandora_console/extras/mr/53.sql +++ b/pandora_console/extras/mr/53.sql @@ -1,5 +1,5 @@ START TRANSACTION; -ALTER TABLE `tipam_vlan` ADD COLUMN `custom_id` bigint(20) unsigned DEFAULT 0; +ALTER TABLE `tipam_vlan` ADD COLUMN `custom_id` bigint(20) unsigned DEFAULT NULL; COMMIT; diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 6e70b9befb..9719ef8777 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -4027,7 +4027,7 @@ CREATE TABLE IF NOT EXISTS `tipam_vlan` ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, `name` VARCHAR(250) NOT NULL, `description` TEXT, - `custom_id` bigint(20) UNSIGNED DEFAULT 0, + `custom_id` bigint(20) UNSIGNED DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;