-
Model schema now has a discovery API:
One can call
Tortoise.describe_models()
orTortoise.describe_model(<Model>)
to get
a full description of the model(s).Please see
tortoise.Tortoise.describe_model
andtortoise.Tortoise.describe_models
for more info.
- Fix in generating comments for Foreign Keys in
MySQL
- Added schema support for PostgreSQL. Either set
"schema": "custom"
var incredentials
or as a query parameter?schema=custom
- Default MySQL charset to
utf8mb4
. If a charset is provided it will also force the TABLE charset to the same.