You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.