c4b09c6b7a
Simplify the contract for functions exported by `models/*.js` files by removing the second argument `Base`. The base class can be accessed using `ModelCtor.base`. An updated example of a model js file: ```js module.exports = function(Customer) { Customer.setup = function() { Customer.base.setup.apply(this, arguments); // etc. }; }; ``` |
||
---|---|---|
.. | ||
boot | ||
models | ||
app.js | ||
datasources.json | ||
model-config.json |