feat: refs #7287 Added changes to use reason in log #2885
|
@ -0,0 +1,23 @@
|
|||
ALTER TABLE account.roleLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE account.userLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE srt.bufferLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE salix.ACLLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.entryLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.clientLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.itemLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.shelvingLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.workerLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.deviceProductionLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.zoneLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.rateLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.ticketLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.agencyLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.userLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.routeLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.claimLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.productionConfigLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.supplierLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.invoiceInLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.travelLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.packingSiteDeviceLog ADD reason varchar(255) DEFAULT NULL NULL;
|
||||
ALTER TABLE vn.parkingLog ADD reason varchar(255) DEFAULT NULL NULL;
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE vn.ticket
|
||||
ADD motivation ENUM('clone', 'split') DEFAULT NULL NULL AFTER cmrFk;
|
||||
|
||||
ALTER TABLE vn.sale
|
||||
ADD motivation ENUM('priceFix', 'replaceItem') DEFAULT NULL NULL AFTER total;
|
|
@ -40,10 +40,10 @@ export default class Controller extends Section {
|
|||
'oldInstance',
|
||||
'newInstance',
|
||||
'creationDate',
|
||||
'description',
|
||||
'changedModel',
|
||||
'changedModelId',
|
||||
'changedModelValue',
|
||||
'description'
|
||||
'changedModelValue'
|
||||
],
|
||||
include: [{
|
||||
relation: 'user',
|
||||
|
|
|
@ -18,6 +18,12 @@
|
|||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"creationDate": {
|
||||
"type": "date"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"changedModel": {
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -35,16 +41,16 @@
|
|||
"type": "String",
|
||||
"mysql": {"columnName": "newInstance"}
|
||||
},
|
||||
"creationDate": {
|
||||
"type": "date"
|
||||
},
|
||||
"changedModelId": {
|
||||
"type": "string"
|
||||
},
|
||||
"changedModelValue": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"summaryId": {
|
||||
"type":"string"
|
||||
},
|
||||
"reason": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
},
|
||||
"summaryId": {
|
||||
"type":"string"
|
||||
}
|
||||
},
|
||||
"reason": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue