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
fdd3ba80
Commit
fdd3ba80
authored
Mar 26, 2014
by
Leigh B Stoller
Browse files
Add aggregate_urn to apr_instances table.
parent
f8a4a366
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
fdd3ba80
...
...
@@ -66,6 +66,7 @@ CREATE TABLE `apt_instances` (
`creator`
varchar
(
8
)
NOT
NULL
default
''
,
`creator_idx`
mediumint
(
8
)
unsigned
NOT
NULL
default
'0'
,
`creator_uuid`
varchar
(
40
)
NOT
NULL
default
''
,
`aggregate_urn`
varchar
(
128
)
default
NULL
,
`created`
datetime
default
NULL
,
`status`
varchar
(
32
)
default
NULL
,
`extension_code`
varchar
(
32
)
default
NULL
,
...
...
sql/updates/4/388
0 → 100644
View file @
fdd3ba80
#
# APT change.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_instances", "aggregate_urn")) {
DBQueryFatal("alter table apt_instances add ".
" `aggregate_urn` varchar(128) default NULL ".
" after creator_uuid");
}
return 0;
}
# 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