This command will update the database with any changes made to the Prisma schema. It first runs the yarn install
command, which will install any new packages added to the project. Then it runs npx prisma db push
, which will apply the changes from the Prisma schema file to the actual database. This will ensure that the database is up to date with the latest changes.
yarn install
npx prisma db push
Refresh token backend (/api/auth/refresh):
Frontend call refresh:
Dispatch refresh on handleResponse: