Skip to content

Commit

Permalink
Revert "HCK-8971: include schema name in index name of DDL (#52)"
Browse files Browse the repository at this point in the history
This reverts commit 7172d03.
  • Loading branch information
Nightlngale committed Dec 5, 2024
1 parent 7172d03 commit a373d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forward_engineering/ddlProvider/ddlProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ module.exports = (baseProvider, options, app) => {
},

createIndex(tableName, index, dbData, isParentActivated = true) {
const name = getNamePrefixedWithSchemaName(index.indxName, index.schemaName);
const name = wrapInQuotes(index.indxName);
const unique = index.unique && index.index_method === 'btree' ? ' UNIQUE' : '';
const concurrently = index.concurrently ? ' CONCURRENTLY' : '';
const ifNotExist = index.ifNotExist ? ' IF NOT EXISTS' : '';
Expand Down

0 comments on commit a373d0d

Please sign in to comment.