doc: add TravelPreventionSchema to TravelPreventionData file
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import mongoose from "mongoose";
|
||||
|
||||
const TravelPreventionSchema = mongoose.Schema({
|
||||
result: [],
|
||||
date: {
|
||||
type: Date,
|
||||
default: Date.now(),
|
||||
},
|
||||
});
|
||||
|
||||
const TravelPreventionData = mongoose.model("TravelPreventionData", TravelPreventionSchema);
|
||||
export default TravelPreventionData;
|
||||
|
||||
Reference in New Issue
Block a user