GWM : industry_code_mismatch_remarks key added in establishment

This commit is contained in:
Gowtham M 2025-11-22 12:39:12 +05:30
parent 83aba0a124
commit d18678475f
3 changed files with 5 additions and 0 deletions

View File

@ -38,6 +38,7 @@ exports.createEstablishment = async (req, res) => {
permanent_factory_code,
industry_code,
industry_code_production,
industry_code_mismatch_remarks,
license_number,
isic_code,
description,
@ -116,6 +117,7 @@ exports.createEstablishment = async (req, res) => {
permanent_factory_code,
industry_code,
industry_code_production,
industry_code_mismatch_remarks,
license_number,
isic_code,
description,

View File

@ -12,6 +12,7 @@ module.exports = (sequelize, DataTypes) => {
permanent_factory_code: { type: DataTypes.STRING, unique: true },
industry_code: { type: DataTypes.STRING, unique: true },
industry_code_production: { type: DataTypes.STRING, unique: true },
industry_code_mismatch_remarks: { type: DataTypes.STRING },
license_number: { type: DataTypes.STRING, unique: true },
isic_code: { type: DataTypes.STRING, unique: true },

View File

@ -421,6 +421,7 @@ router.get("/testEmail", establishmentController.testEmail);
* permanent_factory_code: { type: string }
* industry_code: { type: string }
* industry_code_production: { type: string }
* industry_code_mismatch_remarks: { type: string }
* license_number: { type: string }
* isic_code: { type: string }
* description: { type: string }
@ -589,6 +590,7 @@ router.get("/establishments/:id",[verifySignature, verifyToken], establishmentCo
* permanent_factory_code: { type: string }
* industry_code: { type: string }
* industry_code_production: { type: string }
* industry_code_mismatch_remarks: { type: string }
* license_number: { type: string }
* isic_code: { type: string }
* description: { type: string }