GWM : industry_code_mismatch_remarks key added in establishment
This commit is contained in:
parent
83aba0a124
commit
d18678475f
@ -38,6 +38,7 @@ exports.createEstablishment = async (req, res) => {
|
|||||||
permanent_factory_code,
|
permanent_factory_code,
|
||||||
industry_code,
|
industry_code,
|
||||||
industry_code_production,
|
industry_code_production,
|
||||||
|
industry_code_mismatch_remarks,
|
||||||
license_number,
|
license_number,
|
||||||
isic_code,
|
isic_code,
|
||||||
description,
|
description,
|
||||||
@ -116,6 +117,7 @@ exports.createEstablishment = async (req, res) => {
|
|||||||
permanent_factory_code,
|
permanent_factory_code,
|
||||||
industry_code,
|
industry_code,
|
||||||
industry_code_production,
|
industry_code_production,
|
||||||
|
industry_code_mismatch_remarks,
|
||||||
license_number,
|
license_number,
|
||||||
isic_code,
|
isic_code,
|
||||||
description,
|
description,
|
||||||
|
|||||||
@ -12,6 +12,7 @@ module.exports = (sequelize, DataTypes) => {
|
|||||||
permanent_factory_code: { type: DataTypes.STRING, unique: true },
|
permanent_factory_code: { type: DataTypes.STRING, unique: true },
|
||||||
industry_code: { type: DataTypes.STRING, unique: true },
|
industry_code: { type: DataTypes.STRING, unique: true },
|
||||||
industry_code_production: { 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 },
|
license_number: { type: DataTypes.STRING, unique: true },
|
||||||
isic_code: { type: DataTypes.STRING, unique: true },
|
isic_code: { type: DataTypes.STRING, unique: true },
|
||||||
|
|
||||||
|
|||||||
@ -421,6 +421,7 @@ router.get("/testEmail", establishmentController.testEmail);
|
|||||||
* permanent_factory_code: { type: string }
|
* permanent_factory_code: { type: string }
|
||||||
* industry_code: { type: string }
|
* industry_code: { type: string }
|
||||||
* industry_code_production: { type: string }
|
* industry_code_production: { type: string }
|
||||||
|
* industry_code_mismatch_remarks: { type: string }
|
||||||
* license_number: { type: string }
|
* license_number: { type: string }
|
||||||
* isic_code: { type: string }
|
* isic_code: { type: string }
|
||||||
* description: { type: string }
|
* description: { type: string }
|
||||||
@ -589,6 +590,7 @@ router.get("/establishments/:id",[verifySignature, verifyToken], establishmentCo
|
|||||||
* permanent_factory_code: { type: string }
|
* permanent_factory_code: { type: string }
|
||||||
* industry_code: { type: string }
|
* industry_code: { type: string }
|
||||||
* industry_code_production: { type: string }
|
* industry_code_production: { type: string }
|
||||||
|
* industry_code_mismatch_remarks: { type: string }
|
||||||
* license_number: { type: string }
|
* license_number: { type: string }
|
||||||
* isic_code: { type: string }
|
* isic_code: { type: string }
|
||||||
* description: { type: string }
|
* description: { type: string }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user