Commit e78f5a2f authored by Leigh Stoller's avatar Leigh Stoller

Sheesh, this update was totally wrong. That will teach me to copy/paste

without looking.
parent d8a4dd08
......@@ -6,12 +6,12 @@ sub DoUpdate($$$)
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("virt_lans", "backfill")) {
DBQueryFatal("alter table virt_lans add ".
"backfill int(10) unsigned default 0 after bandwidth");
DBQueryFatal("alter table virt_lans add backfill ".
"int(10) unsigned default 0 after est_bandwidth");
}
if (!DBSlotExists("virt_lans", "backfill")) {
DBQueryFatal("alter table virt_lans add ".
"rbackfill int(10) unsigned default 0 after rbandwidth");
if (!DBSlotExists("virt_lans", "rbackfill")) {
DBQueryFatal("alter table virt_lans add rbackfill ".
"int(10) unsigned default 0 after rest_bandwidth");
}
if (!DBSlotExists("delays", "backfill0")) {
DBQueryFatal("alter table delays add ".
......
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