Migrate to yarn

This commit is contained in:
2022-07-07 00:51:28 +03:00
parent 1af1048670
commit 78fd1b5adf
32 changed files with 10289 additions and 20356 deletions

View File

@@ -0,0 +1,15 @@
import mongoose from 'mongoose'
const scanResultSchema = new mongoose.Schema({
name: String,
fullName: String,
url: String,
partsPrice: Number,
setPrice: Number,
difference: Number
},
{
timestamps: true
})
export default mongoose.models.ScanResult || mongoose.model('ScanResult', scanResultSchema)