added new field to ipam vlan

This commit is contained in:
alejandro.campos@artica.es 2022-02-24 13:58:04 +01:00
parent bf88c54480
commit c319c30e24
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;