This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
|
import mongoose from 'mongoose';
|
|
|
|
|
|
const PredictionSchema = new mongoose.Schema({
|
|
name: {
|
|
type: String,
|
|
unique: true
|
|
},
|
|
value: Number
|
|
});
|
|
|
|
export default mongoose.model<any, mongoose.Model<any, any>>('prediction', PredictionSchema);
|