doc: add TravelPreventionSchema to TravelPreventionData file
This commit is contained in:
1 parent
6a46a0b80c
commit
92e8afe3d7
1 file changed
+12
@@ -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