full
This commit is contained in:
@@ -28,6 +28,10 @@ const paymentSchema = new mongoose.Schema({
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: 'Advertising'
|
||||
},
|
||||
order_id: {
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: 'Order'
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
required: true
|
||||
|
||||
Reference in New Issue
Block a user