mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
Fix an issue with build generations not being set for strict MySQL
Summary: Target creation fatals otherwise ('buildGeneration' may not be NULL) Auditors: hach-que
This commit is contained in:
parent
fd45f64e47
commit
3273874744
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@ final class HarbormasterBuild extends HarbormasterDAO
|
|||
|
||||
public static function initializeNewBuild(PhabricatorUser $actor) {
|
||||
return id(new HarbormasterBuild())
|
||||
->setBuildStatus(self::STATUS_INACTIVE);
|
||||
->setBuildStatus(self::STATUS_INACTIVE)
|
||||
->setBuildGeneration(0);
|
||||
}
|
||||
|
||||
public function delete() {
|
||||
|
|
Loading…
Reference in a new issue