Complete the code to run a Prisma migration command in the terminal.
npx prisma migrate [1] --name initThe migrate dev command runs migrations in development mode and updates the database.
Complete the code to generate Prisma client after migration.
npx prisma [1]The prisma generate command generates the Prisma client based on your schema.
Fix the error in the migration command to reset the database.
npx prisma migrate [1]The migrate reset command resets the database by dropping all data and reapplying migrations.
Fill both blanks to create a migration and apply it in one command.
npx prisma migrate [1] --name [2]
The migrate dev command creates and applies a migration. The --name option names the migration, here 'init'.
Fill all three blanks to push schema changes without migration files.
npx prisma [1] [2] --accept-data-loss [3]
The command prisma db push --accept-data-loss --skip-generate pushes schema changes directly to the database without creating migration files and skips client generation.