<commit_before>var Sequelize = require('sequelize');
var db = require('../../config/initializers/sequelize.js');
var GatewayAccount = require('../models/gateway_account');

var BankTx = sequelize.define('bank_transaction', {
  id: { type: Sequelize.INTEGER, primaryKey: true, autoIncrement: true },
  deposit: { type: Sequelize.BOOLEAN, allowNull: false },
  currency: { type: Sequelize.STRING, allowNull: false },
  accountId: { type: Sequelize.INTEGER, allowNull: false },
	balanceId: { type: Sequelize.INTEGER, allowNull: false },
  cashAmount: { type: Sequelize.DECIMAL, allowNull: false },
  rippleTxId: Sequelize.INTEGER
});

module.exports = BankTx;<commit_msg>[FEATURE] No longer require balanceId in bankTx model<commit_after>var Sequelize = require('sequelize');
var db = require('../../config/initializers/sequelize.js');
var GatewayAccount = require('../models/gateway_account');

var BankTx = sequelize.define('bank_transaction', {
  id: { type: Sequelize.INTEGER, primaryKey: true, autoIncrement: true },
  deposit: { type: Sequelize.BOOLEAN, allowNull: false },
  currency: { type: Sequelize.STRING, allowNull: false },
  accountId: { type: Sequelize.INTEGER, allowNull: false },
  cashAmount: { type: Sequelize.DECIMAL, allowNull: false },
  rippleTxId: Sequelize.INTEGER
});

module.exports = BankTx;
{'fraction_non_alphanumeric': 0.14578587699316628, 'fraction_numerical': 0.0, 'mean_word_length': 5.429268292682927, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5152641', 'n_tokens_mistral': 430, 'n_tokens_neox': 426, 'n_words': 97}