Skip to content
GitLab
Menu
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
30f94199
Commit
30f94199
authored
Jun 06, 2017
by
Leigh B Stoller
Browse files
Add admin_notes slot to apt_instances.
parent
f03f83fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
30f94199
...
...
@@ -362,6 +362,7 @@ CREATE TABLE `apt_instances` (
`paniced_timestamp`
datetime
default
NULL
,
`admin_lockdown`
tinyint
(
1
)
NOT
NULL
default
'0'
,
`user_lockdown`
tinyint
(
1
)
NOT
NULL
default
'0'
,
`admin_notes`
mediumtext
,
`extension_code`
varchar
(
32
)
default
NULL
,
`extension_reason`
mediumtext
,
`extension_history`
mediumtext
,
...
...
sql/updates/4/585
0 → 100644
View file @
30f94199
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_instances", "admin_notes")) {
DBQueryFatal("alter table apt_instances add " .
" `admin_notes` mediumtext after user_lockdown");
}
return 0;
}
# Local Variables:
# mode:perl
# End:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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