Archived
2

Add simple prediction comparison

This commit is contained in:
2021-02-25 11:33:14 +01:00
parent 3bad5416a8
commit f23f580a25
2 changed files with 10 additions and 1 deletions

View File

@ -2,7 +2,10 @@ import mongoose from 'mongoose';
const PredictionSchema = new mongoose.Schema({
name: String,
name: {
type: String,
unique: true
},
value: Number
});