mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 20:27:49 +08:00
fix: test
This commit is contained in:
parent
a1060eff71
commit
f1c269cb57
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user