Strategies for handling conflicts and rollbacks in Django database migrations by Abigail Afi Gbadago

Channel:
Subscribers:
42,500
Published on ● Video Link: https://www.youtube.com/watch?v=oMoWoJIV6og



Duration: 0:00
8 views
0


Django is a popular web framework that comes with a powerful database migration system. However, managing database schema changes can be a challenging task, especially in complex projects with multiple developers and frequent releases. Conflicts can arise when multiple developers modify the same models or when migration files are applied in the wrong order. Rollbacks are also necessary when migrations fail or need to be reverted.

We will explore different strategies for handling conflicts and rollbacks in Django database migrations, discuss how to prevent conflicts by using tools such as database locking, how to resolve conflicts manually and how to use migration squashing to reduce the number of migration files. Additionally, we will explain how to handle rollbacks by using version control systems and backups.

By attending this talk, attendees will gain a deeper understanding of the challenges involved in managing database migrations in Django and learn practical strategies for handling conflicts and rollbacks. They will be able to apply these strategies in their own projects to improve their development workflow and ensure data integrity.

This talk was presented at: https://2023.djangocon.us/talks/strat...

LINKS:
Follow Abigail Afi Gbadago 👇
On Twitter: / afi_maame



Follow DjangCon US 👇
https://fosstodon.org/@djangocon
/ djangocon

Follow DEFNA 👇
https://www.defna.org/

Video production by Confreaks
Follow Confreaks 👇
https://confreaks.com/
https://x.com/confreaks




Other Videos By Confreaks


2025-01-20Inside Out: My Journey of Understanding Inclusion with Natalia Bidart
2025-01-20Using database triggers to reliably track model history with Wes Kendall
2025-01-20✨ Modern editing experience for your Django models with Wagtail 🐦 with Sage Abdullah
2025-01-20Panel Discussion: Who put me in charge? Moving beyond day-to-day coding in Django with Jay Miller
2025-01-20Automate Your City Data with Python with Philip James
2025-01-20Don't Buy the "A.I." Hype with Tim Allen
2025-01-20There's More to Open Source than Code by Ramon Huidobro
2025-01-20AfroPython: Using Django to change black people life in Brazil with Felipe de Morais
2025-01-20DjangoCon Africa: Daniele Procida Lightning talk
2025-01-20Powering Energy Storage Beyond Excel with Calvin Hendryx-Parker
2025-01-20Strategies for handling conflicts and rollbacks in Django database migrations by Abigail Afi Gbadago
2025-01-20Keynote: Finding Purpose in Open Source Through Community Building with Abigail Mesrenyame Dogbe
2025-01-19Django’s accessibility track record with Thibaud Colas
2025-01-19Custom Model Managers and QuerySets: Graduating from Django Beginner to ORM Master with Josh Thomas
2025-01-19Navigating Django's Future: Djangonaut Space with Dawn Wages, Rachell Calhoun
2025-01-19Decoding DDD: A Three-Tiered Approach to Django Projects with Pavel Sviridov
2025-01-19The evolution of a Django Website into a radio automation back-end with Ernesto Rico Schmidt
2025-01-19Lightning Talks Day Three with Kojo Idrissa
2025-01-19Back to the Future of Hypermedia in Django withMario Munoz
2025-01-19Sponsored Talk: Optimizing Django deployments with a Continuous Observability Strategy by Paul Gilzo
2025-01-19Meet-ups: A Grand Vision for a Humble Endeavor with Deb Nicholson