all AI news
Simplify Database Migrations using Python with Alembic
DEV Community dev.to
The following article will discuss working with database migration using the popular Python library called Alembic. However, before diving into this tutorial, we'll mention some definitions that will help us better understand how Alembic works and the best way to implement database migration.
🟣 ORM (Object Relational Mapping)
The ORM (Object Relational Mapping) is a layer that allows connecting object-oriented programming with relational databases, abstracting the underlying SQL queries.
🟣 SQLAlchemy
SQLAlchemy is a 🐍 python library that implements ORM …
article database database migration definitions discuss however library mapping migration migrations object orm popular python relational sql tutorial will