This commit is contained in:
Brian Cao 2022-08-22 22:44:48 -07:00
parent 4924a616f9
commit e418f86f35

View File

@ -18,6 +18,7 @@ function getDatabaseType() {
const databaseType = getDatabaseType();
if (!databaseType || !['mysql', 'postgresql'].includes(databaseType)) {
console.log(databaseType);
throw new Error('Missing or invalid database');
}