10 lines
275 B
JavaScript
10 lines
275 B
JavaScript
var mongoose = require('mongoose')
|
|
, Schema = mongoose.Schema;
|
|
|
|
var RichlistSchema = new Schema({
|
|
coin: { type: String },
|
|
received: { type: Array, default: []},
|
|
balance: { type: Array, default: [] },
|
|
});
|
|
|
|
module.exports = mongoose.model('Richlist', RichlistSchema); |