mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
- BUGFIX: temp_index was already defined as an integer. Use CHANGE instead of ADD.
git-svn-id: http://www.observium.org/svn/observer/trunk@905 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -106,5 +106,5 @@ ALTER TABLE `syslog` CHANGE `datetime` `datetime` TIMESTAMP NOT NULL DEFAULT CUR
|
||||
ALTER TABLE `syslog` DROP `host`, DROP `processed`;
|
||||
RENAME TABLE `interfaces` TO `ports` ;
|
||||
RENAME TABLE `interfaces_perms` TO `ports_perms` ;
|
||||
ALTER TABLE `temperature` ADD `temp_index` VARCHAR( 32 ) NOT NULL AFTER `device_id` , ADD `temp_type` VARCHAR( 16 ) NOT NULL AFTER `temp_index`;
|
||||
ALTER TABLE `temperature` CHANGE `temp_index` `temp_index` VARCHAR( 32 ) NOT NULL AFTER `device_id` , ADD `temp_type` VARCHAR( 16 ) NOT NULL AFTER `temp_index`;
|
||||
ALTER TABLE `processors` CHANGE `processor_oid` `processor_oid` VARCHAR( 128 ) NOT NULL
|
||||
|
||||
Reference in New Issue
Block a user