Skip to content

Commit 5d7ba0d

Browse files
Fix duplicate index name. (unitycatalog#492)
**PR Checklist** - [ ] A description of the changes is added to the description of this PR. - [ ] If there is a related issue, make sure it is linked to this PR. - [ ] If you've fixed a bug or added code that should be tested, add tests! - [ ] If you've added or modified a feature, documentation in `docs` is updated **Description of changes** Database index names apparently need to be unique. The same name `IDX_NAME` was used in multiple locations. Related Issue unitycatalog#493 Co-authored-by: Vikrant Puppala <[email protected]>
1 parent f9a9bf1 commit 5d7ba0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/io/unitycatalog/server/persist/dao/RegisteredModelInfoDAO.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@Table(
1313
name = "uc_registered_models",
1414
indexes = {
15-
@Index(name = "idx_name", columnList = "name"),
15+
@Index(name = "uc_registered_models_name_idx", columnList = "name"),
1616
})
1717
// Lombok annotations
1818
@Getter

0 commit comments

Comments
 (0)