Skip to content

Commit

Permalink
Revert "HCK-8971: include schema name in index name of DDL (#40)"
Browse files Browse the repository at this point in the history
This reverts commit dfd3415.
  • Loading branch information
Nightlngale committed Dec 5, 2024
1 parent dfd3415 commit 3c1dedd
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ const { wrapInQuotes } = require('../../../utils/general');
const { getBasicValue } = require('../options/getOptionsByConfigs');

const getIndexName = ({ index }) => {
const indexName = getBasicValue({ prefix: '', modifier: name => wrapInQuotes({ name }) })(index.indxName);

return index.schemaName ? ` ${wrapInQuotes({ name: index.schemaName })}.${indexName}` : ` ${indexName}`;
return getBasicValue({ prefix: ' ', modifier: name => wrapInQuotes({ name }) })(index.indxName);
};

module.exports = {
Expand Down

0 comments on commit 3c1dedd

Please sign in to comment.