Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 438 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 438 Bytes

Mock Service

pnpm install
pnpm run dev
pnpm run deploy

Prisma Note

npx wrangler d1 migrations create mock-service init

npx prisma migrate diff \
  --from-empty \
  --to-schema-datamodel ./prisma/schema.prisma \
  --script \
  --output migrations/0001_init.sql

npx wrangler d1 migrations apply mock-service --local

npx wrangler d1 migrations apply mock-service --remote

npx prisma generate