prisma-scripts
v0.3.5
Published
scripts for managing prisma orm
Downloads
80
Maintainers
Readme
prisma-scripts
scripts for managing prisma orm
Please ★ this repo if you found it useful ★ ★ ★
Installation
npm install --save prisma-scripts
Usage
await seedDb(
{
user: {
email,
firstname,
lastname,
password:
// eslint-disable-next-line spellcheck/spell-checker
'$2b$10$EpRnTzVlqHNP0.fUbXUwSOyuiXe/QLSUG6xNekdHgTGmrpHEfIoxm', // secret42
role: 'ADMIN'
}
},
['user.password']
);
Support
Submit an issue
License
Silicon Hills LLC © 2020-2021
Credits
- Clay Risser - Author