Add simple prediction comparison
This commit is contained in:
@ -2,7 +2,10 @@ import mongoose from 'mongoose';
|
||||
|
||||
|
||||
const PredictionSchema = new mongoose.Schema({
|
||||
name: String,
|
||||
name: {
|
||||
type: String,
|
||||
unique: true
|
||||
},
|
||||
value: Number
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user