npm i
).env
containing DATABASE_URL
similar to .env copy
, append /mydb?schema=public
to target mydb
database's public
schema.npx prisma db push
to push schema to database, and run npx prisma generate
if it doesn't do that already to create Prisma Clientnpm run dev
to start up dev server!