TypeORM Migrations Explained

Safely make changes to your production database schema

Songtham Tung
Better Programming
Published in
7 min readDec 18, 2019

--

Original Photo by Barth Bailey on Unsplash. Modified by Songtham Tungkitkancharoen.

A migration in TypeORM is a single file with SQL queries to update a database schema. This is important to know as a database administrator, back-end engineer, or tech lead because it’s one of the safest ways for making database changes in production. In this piece, we’ll go over the best practices on how to perform…

--

--