Pierre Noël b4295cf521 fix typo
2022-11-17 11:41:12 +01:00

11 lines
212 B
JavaScript

'use strict';
const addSchema = (tableName) => {
const schemaName = strapi.db.connection.getSchemaName();
return schemaName ? `${schemaName}.${tableName}` : tableName;
};
module.exports = {
addSchema,
};