mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 15:07:13 +01:00
use uuid only additionally for booking
This commit is contained in:
@@ -5,7 +5,8 @@ import { getDays, dateFormatBackend } from '../helpers/date'
|
||||
|
||||
const BookingSchema = new mongoose.Schema(
|
||||
{
|
||||
_id: {
|
||||
// need a seperate uuid to be able to target a booking anonimously
|
||||
uuid: {
|
||||
type: String,
|
||||
default: uuidv4,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user