DbSchema Blog

Database design, migrations, SQL and everyday database work — explained with practical examples.

SQL tutorial

Learn SQL in your browser

A free SQL tutorial in short lessons on one shop database. Every example runs on real PostgreSQL in your browser, and the page checks your answers.

Migrations 06 Sep 2026

Why Version a Schema at All

Learn why database schema versioning is essential for engineering managers to eliminate deployment bottlenecks and automate migration scripts safely.

Migrations 06 Sep 2026

Comparing Production and Staging Schemas

Learn how to compare production and staging database schemas, identify hidden schema drift, and use DbSchema to generate precise visual migration scripts.

Migrations 06 Sep 2026

Comparing Two Database Schemas

How to compare two database schemas and generate safe DDL migration scripts, with DbSchema Pro, Microsoft SSDT and Redgate SQL Compare for SQL Server.

Migrations 06 Sep 2026

Putting a Database Schema in Git

Put your database schema in Git: state-based vs migration workflows, Git best practices, and automated migration scripts from a plain-XML model.

Migrations 06 Sep 2026

Open-Source Schema Migration Tools

Discover how open-source schema migration tools help backend developers manage database changes safely. Compare DbSchema, Liquibase, and Flyway.