Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
94eb686d
Commit
94eb686d
authored
Jun 28, 2013
by
Leigh B Stoller
Browse files
Add table_regex entry for noexport added in previous commit.
parent
d7a404bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-fill.sql
View file @
94eb686d
...
...
@@ -1028,6 +1028,7 @@ REPLACE INTO table_regex VALUES ('images','default_osid','text','redirect','os_i
REPLACE
INTO
table_regex
VALUES
(
'images'
,
'path'
,
'text'
,
'regex'
,
'^[-_
\\
w
\\
.
\\
/:+]*$'
,
1
,
256
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'images'
,
'shared'
,
'text'
,
'redirect'
,
'default:boolean'
,
0
,
0
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'images'
,
'global'
,
'text'
,
'redirect'
,
'default:boolean'
,
0
,
0
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'images'
,
'noexport'
,
'text'
,
'redirect'
,
'default:boolean'
,
0
,
0
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'images'
,
'makedefault'
,
'text'
,
'redirect'
,
'default:boolean'
,
0
,
0
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'images'
,
'mtype'
,
'text'
,
'redirect'
,
'default:boolean'
,
0
,
0
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'images'
,
'node_id'
,
'text'
,
'redirect'
,
'nodes:node_id'
,
0
,
0
,
NULL
);
...
...
sql/updates/4/360
View file @
94eb686d
...
...
@@ -14,6 +14,9 @@ sub DoUpdate($$$)
DBQueryFatal("alter table images add ".
" `noexport` tinyint(1) NOT NULL default '0'");
}
DBQueryFatal("REPLACE INTO table_regex VALUES ".
"('images','noexport','text','redirect', ".
" 'default:boolean',0,0,NULL)");
return 0;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment