aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/database.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.js')
-rw-r--r--src/database.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/database.js b/src/database.js
index 020bfd961..740e89fa4 100644
--- a/src/database.js
+++ b/src/database.js
@@ -24,7 +24,8 @@
24 // ----------- Pods ----------- 24 // ----------- Pods -----------
25 var podsSchema = mongoose.Schema({ 25 var podsSchema = mongoose.Schema({
26 url: String, 26 url: String,
27 publicKey: String 27 publicKey: String,
28 score: { type: Number, max: global.FRIEND_BASE_SCORE }
28 }) 29 })
29 30
30 var PodsDB = mongoose.model('pods', podsSchema) 31 var PodsDB = mongoose.model('pods', podsSchema)