-
I am getting following Error while running commands "aerich init-db" or "aerich history"
**'list' object has no attribute 'startswith'**
-
I have the problem with aerich configs:
I have the `app/database.py` file with the next content:
```
TORTOISE_ORM = {
"connections": {"default": "postgres://..."},
"apps": {
…
-
In app folder I have somethings organized like this:
main_app
--app1
----models.py
----views.py
----......
--app2
----models.py
----views.py
----.....
--core
----config.py
----tortoise.py
…
-
```
async def upgrade(db: BaseDBAsyncClient) -> str:
return """
CREATE TABLE IF NOT EXISTS `languages` (
`id` INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
`name` VARCHAR(255) NOT …
-
There is an issue with the aerich migration that I observed is while executing `aerich migrate` all columns of a table do reflect in migration file but after executing `aerich upgrade` one or the othe…
-
When I add a default to a column that did not have a default, aerich will not add the default. It will write `ALTER TABLE "" ALTER COLUMN "" SET;`, which not only does not contain the default but also…
-
Could you add support for old .sql migrations for backwards compatibility?
I have a problem with migrations in relation to this and I can't run migrations from an old version of aerich.
-
After install aerich when I run aerich -h I got this error :
ImportError: cannot import name 'Tortoise' from 'tortoise' (unknown location)
-
This one had me tearing out my hair for a few hours since I'm still new to Tortoise. If you are using Aerich through the Command class ([as mentioned here in the Readme](https://github.com/tortoise/ae…
-
I want to make migrations before web app is up. Best way to make it?