// Preserve any Promise overrides set globally prior to importing knex
if(oldPromise){
global.Promise=oldPromise;
}
}catch(e){
thrownewError(
`You are using Node.js 6. Please consider upgrading to Node.js 8+ or add '@babel/polyfill' dependency to the project (knex will automatically load it).`