Migrations
Let’s learn to perform migrations in databases.
We need a way to create tables that correspond to the objects defined in rentomatic/repository/postgres_objects.py
.
Alembic
The best strategy when we use an ORM like SQLAlchemy is to create and run migrations. For this, we can use Alembic.
Access this course and 1400+ top-rated courses and projects.