Database migrations on a team: one person generates, everyone applies
@devsingh05▲ 5 net votes
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.