Replace reference to empty `modelDefinitions` input with reference to `inputs.models`
Replace reference to empty `modelDefinitions` input with reference to `inputs.models`

Also wrap the whole thing in a try catch and return through the `badConfiguration` exit instead of calling undefined `next` function

balderdashy/sails-postgresql