From e2cd8a84b6a973353dbdcaf8d9af8ca1221cf0fd Mon Sep 17 00:00:00 2001 From: suseendhiran17 <58357088+suseendhiran17@users.noreply.github.com> Date: Sat, 16 Jul 2022 17:57:00 +0530 Subject: [PATCH] datatype change in loan detail model : suseendhiran --- app/controllers/test.controller.js | 1 + app/models/LoanDetail.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/controllers/test.controller.js b/app/controllers/test.controller.js index bb95c37..50b6948 100644 --- a/app/controllers/test.controller.js +++ b/app/controllers/test.controller.js @@ -17,3 +17,4 @@ exports.Welcome = (req, res) => }; + diff --git a/app/models/LoanDetail.js b/app/models/LoanDetail.js index 4200099..b1ee903 100644 --- a/app/models/LoanDetail.js +++ b/app/models/LoanDetail.js @@ -13,8 +13,8 @@ module.exports = (sequelize, DataTypes) => { sourcing_channel_type: { type: DataTypes.INTEGER }, sourcing_channel_name: { type: DataTypes.INTEGER }, proposal: { type: DataTypes.INTEGER }, - sanction_date_of_earlier_exposure: { type: DataTypes.INTEGER }, - sanction_amount_of_earlier_exposure: { type: DataTypes.STRING }, + sanction_date_of_earlier_exposure: { type: DataTypes.STRING }, + sanction_amount_of_earlier_exposure: { type: DataTypes.INTEGER }, current_outstnd_bal_of_earlier_exposure: { type: DataTypes.INTEGER }, emi_of_earlier_exposure: { type: DataTypes.INTEGER }, additional_loan_amnt_applied_for: { type: DataTypes.INTEGER },