mirror of
https://we.phorge.it/source/phorge.git
synced 2025-03-08 10:24:48 +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) {
|
public static function initializeNewBuild(PhabricatorUser $actor) {
|
||||||
return id(new HarbormasterBuild())
|
return id(new HarbormasterBuild())
|
||||||
->setBuildStatus(self::STATUS_INACTIVE);
|
->setBuildStatus(self::STATUS_INACTIVE)
|
||||||
|
->setBuildGeneration(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function delete() {
|
public function delete() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue