Uploading minimal boilerplate
This commit is contained in:
1 parent
8516cac965
commit
5652cb9b6d
42 files changed
+8144
-1
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import mongoose, { Schema } from 'mongoose';
|
||||
|
||||
const plotterSchema = new Schema({
|
||||
name: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
|
||||
const Plotter = mongoose.model('Plotter', plotterSchema);
|
||||
|
||||
export default Plotter;
|
||||
Reference in new issue
Block a user