mirror of
https://github.com/strapi/strapi.git
synced 2025-07-26 18:38:46 +00:00
11 lines
211 B
JavaScript
11 lines
211 B
JavaScript
![]() |
'use strict';
|
||
|
|
||
|
const addSchema = (tableName) => {
|
||
|
const schemaName = strapi.db.connection.getSchemaName();
|
||
|
return schemaName ? `${schemaName}.${tableName}` : tableName;
|
||
|
};
|
||
|
|
||
|
module.export = {
|
||
|
addSchema,
|
||
|
};
|