Initial Version
This commit is contained in:
12
server/models/SuggestKeywords.js
Normal file
12
server/models/SuggestKeywords.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const mongoose = require('mongoose');
|
||||
const suggestKeywordSchema = mongoose.Schema({
|
||||
keyword: {
|
||||
type: String,
|
||||
unique: true
|
||||
},
|
||||
isDeleted: {
|
||||
type: Date,
|
||||
default: null
|
||||
}
|
||||
}, { timestamps: true });
|
||||
module.exports = mongoose.model('suggestkeyword', suggestKeywordSchema);
|
||||
Reference in New Issue
Block a user