rajin572 / prisma-note

Prisma Note

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  1. npm init -y
  2. npm install typescript ts-node @types/node --save-dev
  3. npx tsc --init
  4. npm install prisma --save-dev
  5. npx prisma init --datasource-provider sqlite
  6. npm install @prisma/client

Migraton : Related to SQL Query and Database
Generation : Related to Prisma Client (It changes localy)

1. npx prisma migrate dev --name init (It's use to write SQL command and create schema for a database)
2. npx prisma migrate dev (to exicute some change in schema)
3. npx prisma generate (use to add columns on table)
4. npm install prisma --save-dev
5. npx prisma init --datasource-provider sqlite

About

Prisma Note


Languages

Language:TypeScript 100.0%