1
0
Fork 0
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:
epriestley 2014-08-21 09:23:48 -07:00
parent fd45f64e47
commit 3273874744

View file

@ -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() {