Hashan Ranasinghe
PostsSeriesTagsAbout
All tags

#SQLAlchemy

Found 3 articles with this tag.

  1. Apr 26, 20265 min read

    Managing PostgreSQL Schema Changes with pg_schemadiff

    A practical guide to building a simple database migration system using pg_schemadiff, explaining how to structure a project, write schema definitions, and use a migration script to plan, apply, and track database changes safely.

    SQLAlchemyDatabase MigrationPostgreSQL
  2. Apr 22, 20264 min read

    Why I Let the Database Own Its Own Schema

    How ditching the ORM translation layer and letting PostgreSQL own its schema solved the drift problem for good.

    SQLAlchemyDatabase MigrationPostgreSQL
  3. Mar 20, 20264 min read

    The Empty Migration File That Changed How I Manage Databases

    How a silent empty migration file taught me that SQLAlchemy was never meant to own my database schema.

    SQLAlchemyDatabase MigrationPostgreSQL

Hashan Ranasinghe

GitHubLinkedIn

Quick Links

  • Home
  • Posts
  • Series
  • About
  • Tags

Connect

  • GitHub
  • LinkedIn

© 2026 Hashan Ranasinghe. All rights reserved.