backend logging
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user