diff --git a/deployments/db.js b/deployments/db.js index 5447e975..c563ff37 100644 --- a/deployments/db.js +++ b/deployments/db.js @@ -119,8 +119,8 @@ db.kv.createIndex({key: 1, label_format: 1, domain: 1, project: 1}, {unique: tru db.kv_revision.createIndex({"delete_time": 1}, {expireAfterSeconds: 7 * 24 * 3600}); db.label.createIndex({"id": 1}, {unique: true}); db.label.createIndex({format: 1, domain: 1, project: 1}, {unique: true}); -db.polling_detail.createIndex({timestamp: 1}, {expireAfterSeconds: 7 * 24 * 3600}); db.polling_detail.createIndex({revision: 1, session_id: 1, domain: 1}, {unique: true}); +db.polling_detail.createIndex({timestamp: 1}, {expireAfterSeconds: 7 * 24 * 3600}); db.counter.createIndex({name: 1, domain: 1}, {unique: true}); db.view.createIndex({"id": 1}, {unique: true}); db.view.createIndex({display: 1, domain: 1, project: 1}, {unique: true});