-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transferring Data/schema to the DB fails during migration #411
Comments
Cloud you add more details for how to reproduce the errors? |
pls check this out, after initialization if i try running the following command ; poetry run aerich init-db the poetry run aerich migrate generates the file successfully. example 0_20250129141703_init.py Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\CharlesDaudu\AppData\Local\pypoetry\Cache\virtualenvs\src-ICuY37V0-py3.11\Lib\site-packages\tortoise\backends\asyncpg\client.py", line 89, in _translate_exceptions |
@charleeBlaqTech What's your aerich version and tortoise-orm version? And what's the output of |
Whenever a change is made to PostgreSQL database schema, and I am trying to migrate the data to the DB, this process always throws errors and is mostly unsuccessful. Also, if the tables are deleted and one wants to carry out a fresh migration
I see a number of devs have raised an issue concerning migration already, would be so kind to let us know when this issue would be resolved. Thanks
The text was updated successfully, but these errors were encountered: