Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Step): Use largest possible 32-bit int value for transition
The value used before (largest possible MySQL BIGINT value) was too big for PHP int. Since we still support 32-bit platforms on Nextcloud, let's stick to the largest possible 32-bit PHP integer value. Besides, setting the value as default for `Step::version` doesn't work as `QBMapper->insert()` doesn't recognize the `version` field as changed in that case. So let's default to `0` again and set it using `Step->setVersion()` later. Signed-off-by: Jonas <jonas@freesources.org>
- Loading branch information