npm run dev
or yarn dev
npm run build
or yarn build
then
npm run start
or yarn start
- You must generate the client everytime schema is changed.
npx prisma generate
- To create empty collections when connecting to a fresh/new database
npx prisma db push
- To see the data with visual editor
npx prisma studio