backend logging

This commit is contained in:
root
2020-03-31 01:53:06 +02:00
parent 13822fcaba
commit 0313b1350c
3324 changed files with 23773 additions and 473711 deletions
+5 -1
View File
@@ -15,6 +15,8 @@ const mongoose = require('mongoose'),
initial_food: mongoose.Schema.Types.Decimal128,
initial_damage: mongoose.Schema.Types.Decimal128,
initial_velocity: mongoose.Schema.Types.Decimal128,
initial_weight: mongoose.Schema.Types.Decimal128,
initial_experience: mongoose.Schema.Types.Decimal128,
health: mongoose.Schema.Types.Decimal128,
energy: mongoose.Schema.Types.Decimal128,
oxigen: mongoose.Schema.Types.Decimal128,
@@ -28,7 +30,9 @@ const mongoose = require('mongoose'),
mutations: mongoose.Schema.Types.Number,
server: mongoose.Schema.Types.String,
base: mongoose.Schema.Types.String,
breeder: mongoose.Schema.Types.String
breeder: mongoose.Schema.Types.String,
weight: mongoose.Schema.Types.Number,
experience: mongoose.Schema.Types.Number
})
module.exports = db => db.model('animal', animalModel)