I would like to create a Model with peewee where a Charfield is either null or a unique value. For example, I would think that it could be done with constraints, Meta, or perhaps both, but trying to do so is giving me a headache.
Does anyone have a solution for this in peewee?