Commit 32cf4cd7 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add the new entry to table_regex for virt_nodes:sharing_mode.

parent 3f8a7226
......@@ -53,6 +53,10 @@ sub DoUpdate($$$)
DBQueryFatal("alter table linkdelays drop primary key");
DBQueryFatal("alter table linkdelays add primary key ".
"(`exptidx`,`node_id`,`vlan`,`vnode`)");
DBQueryFatal("replace into table_regex values ".
" ('virt_nodes','sharing_mode','text','regex', ".
" '^[-\\w]+$',1,32,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