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
997067c3
Commit
997067c3
authored
Jan 09, 2017
by
Leigh B Stoller
Browse files
Add webtask to apt_datasets too.
parent
96787357
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
997067c3
...
...
@@ -143,6 +143,7 @@ CREATE TABLE `apt_datasets` (
`shared`
tinyint
(
1
)
NOT
NULL
default
'0'
,
`locked`
datetime
default
NULL
,
`locker_pid`
int
(
11
)
default
'0'
,
`webtask_id`
varchar
(
128
)
NOT
NULL
default
''
,
`credential_string`
text
,
PRIMARY
KEY
(
`idx`
),
UNIQUE
KEY
`plid`
(
`pid_idx`
,
`dataset_id`
),
...
...
sql/updates/4/556
0 → 100644
View file @
997067c3
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_datasets", "webtask_id")) {
DBQueryFatal("alter table apt_datasets " .
" add `webtask_id` varchar(128) NOT NULL default '' ".
" after locker_pid");
}
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