Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

File tree

6 files changed

+692
-725
lines changed

6 files changed

+692
-725
lines changed

models/Issue.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ const schema = new Schema({
3636
name: 'RepositoryIdIndex'
3737
}
3838
},
39+
repoUrl: {
40+
type: String
41+
},
3942
repositoryIdStr: {type: String, required: false},
4043
labels: {
4144
type: Array,

models/Project.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,9 @@ const schema = new Schema({
2323
type: Number,
2424
required: true
2525
},
26-
repoUrl: {
27-
type: String,
28-
required: true,
29-
index: {
30-
global: true,
31-
rangeKey: 'archived',
32-
project: true,
33-
name: 'RepoUrlIndex'
34-
}
26+
repoUrls: {
27+
type: [String],
28+
required: true
3529
},
3630
repoId: {type: String, required: false},
3731
rocketChatWebhook: {type: String, required: false},

0 commit comments

Comments
 (0)