Skip to content
This repository was archived by the owner on Mar 22, 2026. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 672 Bytes

File metadata and controls

23 lines (15 loc) · 672 Bytes

BlogUpdater (im not sure if this will be a service yet or a kafka consumer or just a script)

This project uses Alembic for database schema versioning, allowing for easy management of database migrations.

Managing Database Versioning with Alembic

Alembic is a lightweight database migration tool for use with SQLAlchemy. It provides command line tools for creating and managing scriptable database revisions.

Updating Database Versioning

To create a new migration script after modifying your SQLAlchemy models, run:

alembic revision --autogenerate -m "DESCRIPTION_HERE"

Then, when youcan apply the update using

alembic upgrade head