-
DATABASE_CONFIG
```
TORTOISE_ORM = {
"connections": {
"default": {
"engine": "tortoise.backends.mysql",
"credentials": {
"host": settings.my…
-
# How to reproduce
### 1. init models
```python
class User(Model):
id = fields.IntField(pk=True)
class Meta:
table = 'user'
```
### 2.migrate/upgrade with this model
…
-
HI.
I am building a service on FastAPI using Tortoise-ORM.
The problem is that in this case it is not possible to find the models under the module.
I always get this warning from Tortoise
`./f…
-
When I use a one-to-many association, the SQL statement generated by calling 'aerich migrate' does not sort according to the association information, and an exception 'Failed to open the referenced ta…
-
Steps to reproduce:
- Execute aerich upgrade
- Add model level index using indexes list
```
class IndexedModel(Model):
class Meta:
table = "indexed_model"
indexes = [Index(f…
-
I am trying to initialise `aerich` for an existing project which has configuration files and many migration files, in a new environment with a fresh db.
`aerich init-db --safe true` throws `Inited …
-
Hello, I have spotted that in version [v0.7.0](https://github.com/tortoise/aerich/releases/tag/v0.7.0) not backward compatible changes were made:
> Now aerich use .py file to record versions.
Acco…
-
After addressing the problem [here](https://github.com/tortoise/aerich/issues/78#issuecomment-735452325), I'm addressing it in its own separate issue as well, hoping it might attract more attention.
…
-
I've spotted a potential bug that is blocking me but that probably can cause other problems. I wanted to open a PR myself but I'm not sure of the expected behavior, since that part of the code is undo…
-
When trying to execute `aerich init-db` i get the following error and traceback:
```
Success create app migrate location ./migrations\models
Traceback (most recent call last):
File "c:\users\chr…