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
e27c1e2d
Commit
e27c1e2d
authored
Feb 11, 2015
by
Leigh B Stoller
Browse files
Add monitor_pid to apt_instances tables.
parent
010dc9a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
e27c1e2d
...
...
@@ -137,6 +137,7 @@ CREATE TABLE `apt_instances` (
`extension_code`
varchar
(
32
)
default
NULL
,
`extension_reason`
mediumtext
,
`servername`
tinytext
,
`monitor_pid`
int
(
11
)
default
'0'
,
`rspec`
mediumtext
,
`params`
mediumtext
,
`manifest`
mediumtext
,
...
...
sql/updates/4/426
0 → 100644
View file @
e27c1e2d
#
# APT instance stuff.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_instances", "monitor_pid")) {
DBQueryFatal("alter table apt_instances add ".
" `monitor_pid` int(11) default '0' after servername");
}
return 0;
}
1;
# Local Variables:
# mode:perl
# End:
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