~/talk

Strategies for handling conflicts and rollbacks in Django database migrations

Talkat DjangoCon US 2023 · 2023-10-16..10-20· [databases, developer-experience]
slides:none on file

Explains concrete tactics: how --merge and --check flags behave, when fake/fake_initial pitfalls break auto‑migrations, and using database locking and migration squashing to reduce divergent files. Walks through using makemigrations/migrate, reading dependencies and operations, manual DB edits as last resort, and relying on version control plus backups for rollbacks and disaster recovery. Offers numbers and examples of common conflict scenarios and clear rules for when a rollback, reapply, or manual fix actually works.

AI-written summary · about

  1. 0:00Django migration conflicts
  2. 2:50How migrations manage schema
  3. 4:37Migration tracking limits
  4. 6:43Causes of conflicts
  5. 7:24Rollback considerations
  6. 9:08Best practices for conflicts & rollbacks
  7. 10:35Final recommendations
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.