<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Databases - Tag - Botmonster Tech</title><link>https://botmonster.com/tags/databases/</link><description>Databases - Tag - Botmonster Tech</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sat, 04 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://botmonster.com/tags/databases/" rel="self" type="application/rss+xml"/><item><title>How to Automate Database Migrations with Alembic and SQLAlchemy</title><link>https://botmonster.com/posts/automate-database-migrations-alembic-sqlalchemy/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0000</pubDate><author>Botmonster</author><guid>https://botmonster.com/posts/automate-database-migrations-alembic-sqlalchemy/</guid><description><![CDATA[<div class="featured-image">
                <img src="/automate-database-migrations-alembic-sqlalchemy.png" referrerpolicy="no-referrer">
            </div><p><a href="https://alembic.sqlalchemy.org/" target="_blank" rel="noopener noreferrer ">Alembic</a>
 is the standard migration tool for <a href="https://www.sqlalchemy.org/" target="_blank" rel="noopener noreferrer ">SQLAlchemy</a>
 projects. You run <code>alembic init</code>, point it at your SQLAlchemy models, and use <code>alembic revision --autogenerate</code> to produce migration scripts. Alembic then applies those scripts in order with <code>alembic upgrade head</code>, giving you repeatable, reviewable schema changes that work identically everywhere your application runs. As of March 2026, the latest stable release is Alembic 1.18.4, which supports SQLAlchemy 2.0 (currently at 2.0.48) and its modern declarative and typed APIs natively.</p>]]></description></item></channel></rss>