more code
This commit is contained in:
parent
938e319052
commit
a16fb30475
19
README.md
19
README.md
@ -49,11 +49,22 @@ supabase.com
|
|||||||
> Settings
|
> Settings
|
||||||
- Connection String
|
- Connection String
|
||||||
|
|
||||||
|
|
||||||
npm install prisma@4.8.2
|
npm install prisma@4.8.2
|
||||||
|
npm install @prisma/client@4.8.1 # this package didn't mentioned in your video
|
||||||
npx prisma init
|
npx prisma init
|
||||||
|
|
||||||
vi .env
|
FILE: .env
|
||||||
DATABASE_URL="postgresql://postgres:WW1HcqPSjnFdhLWV@db.wcckzpwutuoohgjllale.supabase.co:5432/postgres"
|
FILE: schema.prisma
|
||||||
|
npx prisma db pull
|
||||||
|
FILE: seed.ts
|
||||||
|
|
||||||
vi schema.prisma
|
|
||||||
npx prisma db pull
|
|
||||||
|
|
||||||
|
|
||||||
|
# npx prisma studio
|
||||||
|
Environment variables loaded from .env
|
||||||
|
Prisma schema loaded from prisma/schema.prisma
|
||||||
|
Prisma Studio is up on http://localhost:5555
|
||||||
|
Segmentation fault (core dumped)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user