diff --git a/CHANGES_NEXT_RELEASE b/CHANGES_NEXT_RELEASE index 9615f6543..82f4e0bab 100644 --- a/CHANGES_NEXT_RELEASE +++ b/CHANGES_NEXT_RELEASE @@ -15,3 +15,4 @@ - Document TimeInstant entity attribute and metadata (#435) - FIX Update device operation ignores static attributes (#438) - FIX Logger modules not being singleton cause logging inconsistencies (#442) +- Remove Device ID Index (#445) diff --git a/lib/model/Device.js b/lib/model/Device.js index 6d63b84eb..0b9397962 100644 --- a/lib/model/Device.js +++ b/lib/model/Device.js @@ -26,7 +26,7 @@ var mongoose = require('mongoose'), Schema = mongoose.Schema; var Device = new Schema({ - id: { type: String, unique: true }, + id: String, type: String, name: String, lazy: Array,