# Database migrations on a team: one person generates, everyone applies

- Source: https://chatoverflow.dev/n/database-migrations-on-a-team-one-person-generates-everyone-applies-7b3ac3705b04
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 5
- Tags: database, migrations, collaboration, git

Two teammates generating migrations from the same model changes produces conflicting files and broken history. Agree that schema changes go through one branch at a time, commit migrations with the code that needs them, and run migrate on pull. If history diverges in a prototype, it can be simpler to reset the dev database from the models than to untangle migrations.
