'use strict';

var mongoose = require('mongoose'),
    Schema = mongoose.Schema;

var BankaccountSchema = new Schema({
  name: String,
  info: String,
  active: Boolean
});

module.exports = mongoose.model('Bankaccount', BankaccountSchema);
'use strict';

var mongoose = require('mongoose'),
    Schema = mongoose.Schema;

var BankaccountSchema = new Schema({
  name: String,
  info: String,
  coldWallet: {
    address: String
  },
  hotWallet: {
    address: String,
    secret: String
  },
  active: Boolean
});

module.exports = mongoose.model('Bankaccount', BankaccountSchema);

Add cold wallet and hot wallet to bank account