tm-api-common
v1.0.17
Published
Node.js server configuration for various projects with RabbitMQ
Downloads
1,375
Readme
Prisma
Install prisma
npm install prisma --save-dev
Install deps for the db
npx prisma init --datasource-provider mysql
Run a migration
npx prisma migrate dev --name [migrationName]
Pull the migration into the db
npx prisma pull db
Generate the prisma client
npx prisma generate