From a373d0d5bee7fd463ea7c624052b9a2f0b6dbcac Mon Sep 17 00:00:00 2001 From: yevhenii-moroziuk Date: Thu, 5 Dec 2024 13:37:55 +0200 Subject: [PATCH] Revert "HCK-8971: include schema name in index name of DDL (#52)" This reverts commit 7172d03452e0ceef1ad6fddf1b90fe0b489e1c26. --- forward_engineering/ddlProvider/ddlProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forward_engineering/ddlProvider/ddlProvider.js b/forward_engineering/ddlProvider/ddlProvider.js index 56bc349..c43415e 100644 --- a/forward_engineering/ddlProvider/ddlProvider.js +++ b/forward_engineering/ddlProvider/ddlProvider.js @@ -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' : '';