Commit bcda0517 authored by Leigh B Stoller's avatar Leigh B Stoller

Another tweak to previous revision.

parent 2d3fdc64
......@@ -1084,7 +1084,7 @@ REPLACE INTO `table_regex` VALUES ('images','lba_high','int','redirect','default
REPLACE INTO `table_regex` VALUES ('images','lba_size','int','redirect','default:int',0,0,NULL);
REPLACE INTO table_regex VALUES ('images','relocatable','text','redirect','default:boolean',0,0,NULL);
REPLACE INTO table_regex VALUES ('images','origin_uuid','text','regex','^\\w+\\-\\w+\\-\\w+\\-\\w+\\-\\w+$',0,64,NULL);
REPLACE INTO table_regex VALUES ('images','origin_name','text','regex','^[-\\w\\.+:]+$',0,128,NULL);
REPLACE INTO table_regex VALUES ('images','origin_name','text','regex','^[-\\w\\.+:\\/]+$',0,128,NULL);
REPLACE INTO table_regex VALUES ('images','origin_urn','text','redirect','projects:manager_urn',0,0,NULL);
REPLACE INTO table_regex VALUES ('node_types','new_type','text','redirect','default:tinytext',0,0,NULL);
REPLACE INTO table_regex VALUES ('node_types','node_type','text','regex','^[-\\w]+$',1,30,NULL);
......
......@@ -15,7 +15,7 @@ sub DoUpdate($$$)
DBQueryFatal("REPLACE INTO table_regex VALUES ".
" ('images','origin_name','text','regex',".
" '^[-\\\\w\\\\.+:]+\$', ".
" '^[-\\\\w\\\\.+:\\\\/]+\$', ".
" 0,128,NULL)");
DBQueryFatal("REPLACE INTO table_regex VALUES ".
......
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