Skip to content

Commit 4fc650c

Browse files
dragonpooludomikula
authored andcommitted
fix duplicate gid : null by filling in gid
1 parent d632bbd commit 4fc650c

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

+1-1
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)