happier-sequelize

0.1.9 • Public • Published

happier-sequelize - a Hapi plugin for the Sequelize ORM based on hapi-sequelize

npm

This is simply an updated version of danecando/hapi-sequelize: https://github.com/danecando/hapi-sequelize

Changelog

  • Updated sequelize peer-dependency to ^4.0
  • Added destroyAllData() method to DB to clear all data from model tables

0.1.8ish

  • Added opts.server field to options to allow a way to pass the hapi server object to models (mostly for logging), can be true to automatically insert server instance or the actual server instance itself
  • DB.getAllModelsAsArray() returns models as array
  • Tests working with postgres
  • Dropped pg dependency to 6.4.2 to avoid this: https://github.com/feathersjs/generator-feathers/issues/246

0.1.9

  • Added options injectLoggingFunction that will inject a .log method into the models that emits a Hapi log event

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.9
    0
    • latest

Version History

Package Sidebar

Install

npm i happier-sequelize

Weekly Downloads

0

Version

0.1.9

License

MIT

Last publish

Collaborators

  • moksamedia