11 lines
212 B
JavaScript
Raw Normal View History

'use strict';
const addSchema = (tableName) => {
const schemaName = strapi.db.connection.getSchemaName();
return schemaName ? `${schemaName}.${tableName}` : tableName;
};
2022-11-17 11:41:12 +01:00
module.exports = {
addSchema,
};