HomePhabricator

Don't normalize away null values

Description

Don't normalize away null values

  • An MWOAuthConsumer is often initialized w/ id == null so that the field auto-increments when being inserted. Normalizing to an int converts the value to 0, which doesn't play nice w/ sqlite.
  • Maybe a better solution is to explicitly set the field to null in the row before inserting, and keeping this normalization?

Change-Id: I06858d50687efdb94c76c6e9360185138449d24e

Details

Provenance
ArlolraAuthored on Oct 24 2016, 10:33 PM
Parents
rEOAU51cd54d332d1: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
ChangeId
I06858d50687efdb94c76c6e9360185138449d24e