Added 'user_id' column to 'build' table (created by)

+ Renamed columns 'created' -> 'create_date', 'started' -> 'start_date' and 'finished' -> 'finish_date'
+ Code style fixes.
This commit is contained in:
Dmitry Khomutov 2017-10-15 21:58:36 +07:00
commit 4ec6d854c2
29 changed files with 550 additions and 661 deletions

View file

@ -83,7 +83,7 @@ class ScheduleBuildCommand extends Command
// If it's running or just created, we don't want to reschedule already.
continue;
}
if ($date < $build->getFinished()) {
if ($date < $build->getFinishDate()) {
// If finished date is newer then the specified since days, we don't want to reschedule
continue;
}