Skip to content

rajin572/prisma-note

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  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

Releases

No releases published

Packages

No packages published