mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
create index over booking uuid
This commit is contained in:
@@ -9,6 +9,7 @@ const BookingSchema = new mongoose.Schema(
|
||||
uuid: {
|
||||
type: String,
|
||||
default: uuidv4,
|
||||
index: true,
|
||||
},
|
||||
booker: {
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
|
||||
Reference in New Issue
Block a user