@earbug/db-models
v0.0.47
Published
This project connects to your local earbug DB and generates sequelize classes for the `eb` schema.
Readme
@earbug/db-models
This project connects to your local earbug DB and generates sequelize classes for the eb schema.
To update the models after altering your local DB schema:
npm run generate-models- This will generate the typescript files in themodels/directory. Review the generated changes before continuing.npm run build- This will create adist/directory with the transpiled.js&.d.tsfiles.- bump version in
package.json npm publish- Will publish to npm.- Bump the version in your dependent package:
npm i @earbug/db-models@latest
