Skip to content

Commit 910617d

Browse files
authored
Revert "HCK-8971: include schema name in index name of DDL (#125)" (#126)
This reverts commit 1fb2d7c.
1 parent 1fb2d7c commit 910617d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forward_engineering/ddlProvider/ddlProvider.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ module.exports = (baseProvider, options, app) => {
326326
* */
327327
createIndex(tableName, index, dbData, isParentActivated = true) {
328328
const isUnique = index.unique && index.index_method === 'btree';
329-
const name = getNamePrefixedWithSchemaName(index.indxName, index.schemaName);
329+
const name = wrapInQuotes(index.indxName);
330330
const unique = isUnique ? ' UNIQUE' : '';
331331
const concurrently = index.concurrently ? ' CONCURRENTLY' : '';
332332
const ifNotExist = index.ifNotExist ? ' IF NOT EXISTS' : '';

0 commit comments

Comments
 (0)