Skip to content

Commit d6dc6c7

Browse files
committed
fix duplicate gid : null by filling in gid
1 parent d632bbd commit d6dc6c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/api-service/lowcoder-server/src/main/java/org/lowcoder/runner/migrations/DatabaseChangelog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public void processDocument(Document document) {
273273
@ChangeSet(order = "025", id = "add-gid-indexes-unique", author = "")
274274
public void addGidIndexesUnique(MongockTemplate mongoTemplate) {
275275
// collections to add gid
276-
String[] collectionNames = {"group", "organization"};
276+
String[] collectionNames = {"group", "organization", "application", "bundle", "datasource", "libraryQuery", "folder"};
277277

278278
// Get the list of existing collections
279279
Set<String> existingCollections = mongoTemplate.getCollectionNames();

0 commit comments

Comments
 (0)