mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
removed unique for now
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
|
||||
function createIndices() {
|
||||
createIndex('objects', {_key: 1, score: -1}, {background:true});
|
||||
createIndex('objects', {_key: 1, value: -1}, {background:true, unique: true});
|
||||
createIndex('objects', {_key: 1, value: -1}, {background:true});
|
||||
createIndex('objects', {expireAt: 1}, {expireAfterSeconds:0, background:true});
|
||||
|
||||
createIndex('search', {content:'text'}, {background:true});
|
||||
|
||||
Reference in New Issue
Block a user