deploy25
After a schema (model) modification, we need to generate a migration :
$ npx prisma migrate dev --name 'migration-name'
Replace migration-name by a name describing the goal of this modificatio, for example:
$ npx prisma migrate dev --name 'user-topics'
Then let know the rest of the team that a shema modification has been done and merged. They need to git-pull and run the migration.
After pullin a schema modofocation and a new migration, We need to run the new migration:
$ npx prisma migrate dev
If error because of schema synchronisation problem:
$ npx prisma migrate reset