Commit eff24369 authored by Leigh Stoller's avatar Leigh Stoller

Another minor change, need to stop using tiny ints.

parent 95013359
......@@ -130,7 +130,7 @@ CREATE TABLE `geni_aggregates` (
`state` varchar(16) NOT NULL default 'stopped',
`status_state_timestamp` int(10) unsigned default NULL,
`errorlog` text,
`boot_failure` tinyint(1) default '0',
`boot_failure` int(10) default '0',
PRIMARY KEY (`idx`),
UNIQUE KEY `uuid` (`uuid`),
INDEX `slice_uuid` (`slice_uuid`)
......
use strict;
use GeniDB;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBSetDefault($dbhandle);
DBQueryFatal("alter table geni_aggregates change boot_failure ".
" `boot_failure` int(10) default '0'");
return 0;
}
1;
# Local Variables:
# mode:perl
# End:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment