Set all NULL `lock_version` values to 0 PART 2
Rails silently casts NULL `lock_version` values to 0 while doing optimistic locking, which causes false stale object exceptions. We had a monkey patch that would change it to check for [NULL, 0] but want to avoid monkey-patching if possible, which means we need to clean up our database values. This Commit is for CI objects (CI Stages, CI Builds, CI Pipelines)
Showing
Please register or sign in to comment