egg-sequelize-autotrx
Advanced tools
Comparing version 0.0.16 to 0.0.17
11
app.js
@@ -1,13 +0,4 @@ | ||
const assert = require('assert') | ||
module.exports = app => { | ||
console.log('egg-sequelize-autotrx app.js') | ||
/*const index = app.config.coreMiddleware.indexOf('sequelize') | ||
// egg-sequelize is required | ||
assert(index >= 0, 'sequelize plugin is required') | ||
// put this plugin after egg-sequelize | ||
app.config.coreMiddleware.splice(index + 1, 0, 'sequelizeAutotrx') */ | ||
app.config.coreMiddleware.push('transaction') | ||
app.loggers.coreLogger.info(`[egg-sequelize-autotrx] app.js`) | ||
} |
{ | ||
"name": "egg-sequelize-autotrx", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "Auto transaction based on cls-hooked for egg-sequelize plugin", | ||
@@ -5,0 +5,0 @@ "eggPlugin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8604
47