node-redshift
node-redshift copied to clipboard
Accept promises in the migration interface
I think it would be nice if instead of
exports.up = function(next) {
// something
next();
};
It would be nice to write
exports.up = function() {
return query('Something')
};
It would even allow as to use async functions in the queries, making it even nicer
exports.up = async function() {
await query('something')
};