Strategies for Reliable Database Schema Migrations | Rotem Tamir | Conf42 Kube Native 2024
Read the abstract ➤ https://www.conf42.com/Kube_Native_2024_Rotem_Tamir_database_schema_reliable_migrations Other sessions at this event ➤ https://www.conf42.com/kubenative2024 Support our mission ➤ https://www.conf42.com/support Join Discord ➤ https://discord.gg/mvHyZzRGaQ Chapters 00:00 Introduction and Speaker Background 01:04 Developer Horror Story: A Migration Gone Wrong 04:23 Postmortem Analysis: Understanding the Outage 06:45 The Importance of Reliable Schema Changes 07:45 Strategy 0: Automate Your Schema Changes 09:40 Strategy 1: Database Schema as Code 12:06 Strategy 2: Testing Database Logic with Unit Tests 14:58 Strategy 3: Testing Data Migrations 17:42 Strategy 4: Automating Risk Detection in Migrations 24:14 Strategy 5: Pre-Migration Checks 25:52 Conclusion and Recap of Strategies