cc-pet-sitter / frontend

0 stars 0 forks source link

Set Aerich for DB Migrations #11

Open hono1030 opened 5 days ago

hono1030 commented 5 days ago

Aerich is an official migration tool for Tortoise ORM. It tracks changes in your models and applies them incrementally to the database schema.

Key Features of Aerich

When Can You Use generate_schemas? Directly using generate_schemas is fine only when:

Migration Workflow Summary