Skip to content

Commit

Permalink
HCK-8971: fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightlngale committed Dec 4, 2024
1 parent b6015c3 commit ff4c6b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forward_engineering/helpers/indexHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ module.exports = app => {
const clustered = index.clustered ? ` CLUSTERED` : ' NONCLUSTERED';

return assignTemplates(templates.index, {
name: getIndexName(index.name, index.schemaName),
name: getIndexName({ name: index.name, schemaName: index.schemaName }),
clustered,
table: getTableName(tableName, index.schemaName),
keys,
Expand All @@ -125,7 +125,7 @@ module.exports = app => {
const order = getIndexKeys(index.orderKeys || [], key => `[${key.name}]`, isParentActivated);

return assignTemplates(templates.columnStoreIndex, {
name: getIndexName(index.name, index.schemaName),
name: getIndexName({ name: index.name, schemaName: index.schemaName }),
table: getTableName(tableName, index.schemaName),
order: order ? `\n\tORDER (${order})` : '',
index_options: createIndexOptions(indexOptions),
Expand Down

0 comments on commit ff4c6b3

Please sign in to comment.