fix: test

This commit is contained in:
Chareice 2023-02-14 17:57:29 +08:00
parent a1060eff71
commit f1c269cb57

View File

@ -74,7 +74,7 @@ excludeSqlite()('update id to bigint test', () => {
db.getCollection(collectionName) ? db.getCollection(collectionName).model.tableName : collectionName, db.getCollection(collectionName) ? db.getCollection(collectionName).model.tableName : collectionName,
); );
if (process.env.DB_UNDERSCORED) { if (db.options.underscored) {
fieldName = lodash.snakeCase(fieldName); fieldName = lodash.snakeCase(fieldName);
} }