From 854bff90a638cfaa55c02cbe8fcec82181174bca Mon Sep 17 00:00:00 2001 From: sriramv Date: Wed, 4 May 2022 13:09:04 +0530 Subject: [PATCH] GWM --- app/models/GeneralSection.js | 1 + app/models/Photograph.js | 10 +++------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/app/models/GeneralSection.js b/app/models/GeneralSection.js index 909231d..4700682 100644 --- a/app/models/GeneralSection.js +++ b/app/models/GeneralSection.js @@ -12,6 +12,7 @@ module.exports = (sequelize, DataTypes) => { autoIncrement : true, primaryKey: true }, + ref_no: { type: DataTypes.INTEGER }, losid: { type: DataTypes.STRING }, application_id: { type: DataTypes.STRING }, main_loan_applicant: { type: DataTypes.STRING }, diff --git a/app/models/Photograph.js b/app/models/Photograph.js index b314c8b..2e0927a 100644 --- a/app/models/Photograph.js +++ b/app/models/Photograph.js @@ -7,13 +7,9 @@ module.exports = (sequelize, DataTypes) => { Photograph.init( { pd_id: { type: DataTypes.INTEGER }, - selfie_with_person_met: { type: DataTypes.STRING }, - hospital_building: { type: DataTypes.STRING }, - approach_to_pd_location: { type: DataTypes.STRING }, - name_board_seen: { type: DataTypes.STRING }, - stock_image: { type: DataTypes.STRING }, - workplace_interior_image: { type: DataTypes.STRING }, - institute_interior: { type: DataTypes.STRING }, + ref_no: { type: DataTypes.INTEGER }, + img: { type: DataTypes.STRING }, + img_name: { type: DataTypes.STRING }, createdby: { type: DataTypes.INTEGER }, updatedby: { type: DataTypes.INTEGER }