Files
purple-explorer/models/richlist.js
T
joeuhren 20c0a382a3 Code cleanup
-Replace tabs with double-spaces
-Betting spacing and lining up of code functions
-Add missing semi-colons
-Remove extra characters and spaces where applicable
-Remove commented-out code fragments
-Add missing 2021 date to LICENSE
-Small touchups and other misc nitpickings
2021-03-17 17:54:09 -06:00

11 lines
314 B
JavaScript

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