mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update devices.bgpLocalAs field from varchar to int (#9098)
* Update devices.bgpLocalAs field from varchar to int * Fixed reorder * Fix to requested changes * Fix reorder again
This commit is contained in:
@@ -442,7 +442,7 @@ devices:
|
||||
- { Field: timeout, Type: int(11), 'Null': true, Extra: '' }
|
||||
- { Field: retries, Type: int(11), 'Null': true, Extra: '' }
|
||||
- { Field: snmp_disable, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: bgpLocalAs, Type: varchar(16), 'Null': true, Extra: '' }
|
||||
- { Field: bgpLocalAs, Type: 'int(10) unsigned', 'Null': true, Extra: '' }
|
||||
- { Field: sysObjectID, Type: varchar(128), 'Null': true, Extra: '' }
|
||||
- { Field: sysDescr, Type: text, 'Null': true, Extra: '' }
|
||||
- { Field: sysContact, Type: text, 'Null': true, Extra: '' }
|
||||
|
1
sql-schema/261.sql
Normal file
1
sql-schema/261.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `devices` CHANGE `bgpLocalAs` `bgpLocalAs` INT UNSIGNED NULL DEFAULT NULL;
|
Reference in New Issue
Block a user