Benjamin blog
  • Firebase cloud functions
  • Connect to aws database
  • connect-to-raspberry-pi-np-hdmi
  • Get your logs from your mobile to your desktop
  • Twitter bot
  • Crontab
  • Delete your git history
  • How I hacked my sons Duplo train to go faster using my voice
  • Finetune GTPT-3
  • Create a localhost tunnel
  • Paste clipboard to vim through ssh in Windows
  • Predictions of the future
  • Prisma
  • Connect to Raspberry Pi no HDMI output
Powered by GitBook
On this page
  • Connection string
  • Migration
  • Seeding

Prisma

Connection string

https://www.prisma.io/docs/concepts/database-connectors/mysql

Migration

npx prisma migrate dev --name init

Seeding

npx prisma db seed

Add this to package.json

,
  "prisma": {
    "seed": "node prisma/seed.js"
  }
PreviousPredictions of the futureNextConnect to Raspberry Pi no HDMI output

Last updated 3 years ago