1️⃣ Migration: Prisma migration is relatable with database and sql query.
2️⃣ Generation: Prisma generation is relatable with prisma client.
npx prisma migrate dev
√ Are you sure you want create and apply this migration? ... yes
√ Enter a name for the new migration: ... enter_a_name
npx prisma migrate dev --name migration_name
✔ Do you want to continue? All data will be lost. (y/N) y
npx prisma generate
npx ts-node file_name.ts
npx prisma studio
npx prisma db pull
npx prisma db push