docs icon indicating copy to clipboard operation
docs copied to clipboard

Explain `migrate` 'magic' in the CLI reference

Open keerlu opened this issue 2 years ago • 0 comments

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.

keerlu avatar Aug 15 '22 09:08 keerlu