diff --git a/lib/db.js b/lib/db.js index 58e769b7..e58a18c8 100644 --- a/lib/db.js +++ b/lib/db.js @@ -12,7 +12,7 @@ BigInt.prototype.toJSON = function () { }; export function getDatabaseType(url = process.env.DATABASE_URL) { - const type = process.env.DATABASE_TYPE || (url && url.split(':')[0]); + const type = url && url.split(':')[0]; if (type === 'postgres') { return POSTGRESQL;