mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix dbschema table
git-svn-id: http://www.observium.org/svn/observer/trunk@702 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -74,4 +74,5 @@ ALTER TABLE `devices` CHANGE `os` `os` VARCHAR( 32 ) NULL DEFAULT NULL;
|
||||
ALTER TABLE `temperature` ADD `temp_precision` INT(11) NULL DEFAULT '1';
|
||||
UPDATE temperature SET temp_precision=10 WHERE temp_tenths=1;
|
||||
ALTER TABLE `temperature` DROP `temp_tenths`;
|
||||
CREATE TABLE IF NOT EXISTS `dbSchema` ( `revision` int(11), KEY `revision` (`revision`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||
CREATE TABLE IF NOT EXISTS `dbSchema` ( `revision` int(11) NOT NULL default '0', PRIMARY KEY (`revision`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||
|
Reference in New Issue
Block a user