* feat: support `--fake` for aerich upgrade * Add `--fake` to downgrade * tests: check --fake result for aerich upgrade and downgrade * Update readme * Fix unittest failed because of `db_field_types` changed * refactor: improve type hints and document
6 lines
114 B
Python
6 lines
114 B
Python
from tortoise import Model, fields
|
|
|
|
|
|
class Foo(Model):
|
|
name = fields.CharField(max_length=60, db_index=False)
|