Mongoose schema option change doesn't reflect in database
问题 I have a mongoose schema defined like the following one: { Username: { type: String, unique: true, required: true, }, Password: { type: String, required: true, minlength: 10, maxlength: 20 } } For example after we launch the production build of our app which is running live, if I want to change "unique" to unique: false for the "Username" how should I do it? So on my machine when the server is running i created a User with Username and Password, mongo created User for me, now i changed the