mirror of
https://github.com/strapi/strapi.git
synced 2025-07-27 02:44:13 +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,
|
|
};
|