You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aerich has no transaction rollback. I got a duplicate entry error after the first upgrade, and then I manually deleted the duplicate. However, during the second upgrade, it was found that the tables of some databases had been modified in the first upgrade.
The text was updated successfully, but these errors were encountered:
Did you run the upgrade with the --in-transaction option?
$ aerich upgrade --help
Usage: aerich upgrade [OPTIONS]
Upgrade to specified version.
Options:
-i, --in-transaction BOOLEAN Make migrations in transaction or not. Can be
helpful for large migrations or creating
concurrent indexes.
-h, --help Show this message and exit.
python===3.10.6
aerich===0.7.1
tortoise-orm[aiomysql]==0.19.3
Aerich has no transaction rollback. I got a duplicate entry error after the first upgrade, and then I manually deleted the duplicate. However, during the second upgrade, it was found that the tables of some databases had been modified in the first upgrade.
The text was updated successfully, but these errors were encountered: