docs
docs copied to clipboard
Explain `migrate` 'magic' in the CLI reference
Some of the migrate
commands do extra 'magic' which is not very well explained in the CLI reference. For example the migrate reset
 introduction says 'This command deletes and recreates the database, or performs a 'soft reset' by removing all data, tables, indexes, and other artifacts.', but it also:
- applies the migrations you have in your migrations file afterwards
- regenerates the Prisma Client
- reseeds the database if there is a seed script
This extra information should be in the overview for each command.