Skip to content

v0.15.6

Compare
Choose a tag to compare
@grigi grigi released this 28 Dec 05:24
· 848 commits to develop since this release
  • Added BinaryField for storing binary objects (bytes).
  • Changed TextField to use LONGTEXT for MySQL to allow for larger than 64KB of text.
  • De-duplicate index if specified on both index=true and as part of indexes
  • Primary Keyed TextField is marked as deprecated.
    We can't guarnatee that it will be properly indexed or unique in all cases.
  • One can now disable the backwards relation for FK/O2O relations by passing related_name=False
  • One can now pass a PK value to a generated field, and Tortoise ORM will use that as the PK as expected.
    This allows one to have a model that has a autonumber PK, but setting it explicitly if required.