File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11import connector from "#models/databaseUtil" ;
22
33const infrastructureSchema = {
4- infraID : { type : Number , required : true } ,
5- infraName : { type : String , required : true } ,
6- infraType : { type : String , required : true } ,
7- infraWing : { type : String , required : true } ,
8- floor : { type : Number , required : true } ,
9- capacity : { type :Number , required : true }
4+ infraID : { type : Number , required : true } ,
5+ infraName : { type : String , required : true } ,
6+ infraType : { type : String , required : true } ,
7+ infraWing : { type : String , required : true } ,
8+ floor : { type : Number , required : true } ,
9+ capacity : { type : Number , required : true } ,
1010} ;
1111
1212const infrastructureModel = new connector . model ( "Infrastructure" , infrastructureSchema ) ;
You can’t perform that action at this time.
0 commit comments