Remove unused Jobs columns

Actually, we can *almost* get rid of the Jobs table entirely...
This commit is contained in:
Eelco Dolstra
2013-05-23 12:11:46 -04:00
parent b1f89bf92d
commit 7b5e92868b
4 changed files with 3 additions and 34 deletions

View File

@ -876,15 +876,10 @@ sub checkBuild {
my $build;
txn_do($db, sub {
# Update the last evaluation time in the database.
my $job = $jobset->jobs->update_or_create(
{ name => $jobName
, lastevaltime => time
});
$job->update({firstevaltime => time})
unless defined $job->firstevaltime;
# Don't add a build that has already been scheduled for this
# job, or has been built but is still a "current" build for
# this job. Note that this means that if the sources of a job