feat: add aerich for migrate db

This commit is contained in:
2024-03-02 15:59:20 +08:00
parent 9a5460ccca
commit 5f7cd715db
4 changed files with 262 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
[tool.aerich]
tortoise_orm = "db.TORTOISE_ORM_CONFIG"
location = "./migrations"
src_folder = "./."