Commit 43961f18 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor fix to previous revision.

parent 99611e4b
......@@ -3992,7 +3992,7 @@ CREATE TABLE `vlans` (
`members` text NOT NULL,
`id` int(11) NOT NULL auto_increment,
`tag` smallint(5) NOT NULL default '0',
`stack` varchar(32),
`stack` varchar(32) default NULL,
PRIMARY KEY (`id`),
KEY `pid` (`pid`,`eid`,`virtual`),
KEY `exptidx` (`exptidx`,`virtual`)
......
#
# Minor fix to previous revision.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("ALTER TABLE vlans MODIFY stack varchar(32) default NULL");
return 0;
}
1;
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