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

Commit caf8a59

Browse files
authored
Merge pull request #27 from afrisalyp/cleanup_indices
Cleanup indices.
2 parents 41f4e59 + ab63f90 commit caf8a59

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

models/Project.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,7 @@ const schema = new Schema({
2121
title: {type: String, required: true},
2222
tcDirectId: {
2323
type: Number,
24-
required: true,
25-
index: {
26-
global: true,
27-
rangeKey: 'id',
28-
project: true,
29-
name: 'TcDirectIdIndex'
30-
}
24+
required: true
3125
},
3226
repoUrl: {type: String, required: true},
3327
repoId: {type: String, required: false},

0 commit comments

Comments
 (0)