- 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:
Geert Hauwaerts
2010-02-21 02:27:50 +00:00
parent f36416fbbb
commit 0f4400393b

View File

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