Commit e9ea6b05 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor addition to previous revision.

parent 51552904
......@@ -1152,7 +1152,7 @@ REPLACE INTO table_regex VALUES ('virt_lans','implemented_by_link','text','redir
REPLACE INTO table_regex VALUES ('elabinelab_attributes','role','text','regex','^(boss|router|ops|fs|node)$',0,0,NULL);
REPLACE INTO table_regex VALUES ('elabinelab_attributes','attrkey','text','regex','^[-\\w\\.]+$',1,32,NULL);
REPLACE INTO table_regex VALUES ('elabinelab_attributes','attrvalue','text','regex','^[-\\w\\.\\+,\\s\\/]+$',0,255,NULL);
REPLACE INTO table_regex VALUES ('elabinelab_attributes','attrvalue','text','regex','^[-\\w\\.\\+,\\s\\/:]+$',0,255,NULL);
REPLACE INTO table_regex VALUES ('elabinelab_attributes','ordering','int','redirect','default:tinyint',0,0,NULL);
REPLACE INTO table_regex VALUES ('images','auth_key','text','regex','^[0-9a-fA-F,]+$',0,0,NULL);
......
......@@ -49,5 +49,8 @@ sub DoUpdate($$$)
"('virt_node_attributes','attrvalue','text','regex', ".
" '^[-\\\\w\\\\.\\\\+,\\\\s\\\\/:]+$',0,255,NULL)");
DBQueryFatal("REPLACE INTO table_regex VALUES ".
"('elabinelab_attributes','attrvalue','text','regex', ".
" '^[-\\\\w\\\\.\\\\+,\\\\s\\\\/:]+\$',0,255,NULL)");
return 0;
}
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