Commit 997067c3 authored by Leigh Stoller's avatar Leigh Stoller

Add webtask to apt_datasets too.

parent 96787357
......@@ -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`),
......
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:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment