changes in kurir and pengaturanbiayakurir schema for ref and kurir search api

This commit is contained in:
kicap1992
2022-05-30 01:50:18 +08:00
parent 5ce41354f0
commit 4237cfec46
5 changed files with 137 additions and 28 deletions

View File

@ -100,6 +100,10 @@ const kurirSchema = new mongoose.Schema({
type: Date,
default: Date.now
},
pengaturan_pengiriman: [{
type: mongoose.Schema.Types.ObjectId,
ref: 'tb_pengaturan_pengiriman'
}]
});
const loginUserSchema = new mongoose.Schema({