DB migration can be less scary - using alembic tool

Yifat Makias Yifat Makias
Language: Hebrew
video in Hebrew
The presentation was given on 2023.07.04 at PyCon Israel 2023 - Conference.

Dealing with database migrations for developers can be pretty tricky. Without a dedicated tool, this can be a frustrating task. Alembic is a tool to deal with this issue.

Dealing with database migrations for developers can be pretty tricky. Without a dedicated tool, this can be a frustrating task.

Python has frameworks that combine code and database management such as Django. What if we prefer using a simpler framework for running our code, like Fast Api that does not contain a database management functionality? Alembic tool is a great solution for that. Alembic tool helps us manage our database by creating and running migrations automatically.

This talk will go over the basics: - Start working with alembic on a Fast Api project. - The basic functionality that this tool provides and its' main features. - What are the pros and cons of working with this tool?