feat(claim_model): add claimDms relations
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
86dd299292
commit
cc5a867bf4
|
@ -22,7 +22,7 @@ USE `util`;
|
||||||
|
|
||||||
LOCK TABLES `config` WRITE;
|
LOCK TABLES `config` WRITE;
|
||||||
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
|
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
|
||||||
INSERT INTO `config` VALUES (1,'224602',0,'production',NULL);
|
INSERT INTO `config` VALUES (1,'224902',0,'production',NULL);
|
||||||
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
|
||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
@ -1858,7 +1858,7 @@ INSERT INTO `ACL` VALUES
|
||||||
(14,'PayMethod','*','READ','ALLOW','ROLE','trainee'),
|
(14,'PayMethod','*','READ','ALLOW','ROLE','trainee'),
|
||||||
(16,'FakeProduction','*','READ','ALLOW','ROLE','employee'),
|
(16,'FakeProduction','*','READ','ALLOW','ROLE','employee'),
|
||||||
(17,'Warehouse','* ','READ','ALLOW','ROLE','trainee'),
|
(17,'Warehouse','* ','READ','ALLOW','ROLE','trainee'),
|
||||||
(18,'State','*','READ','ALLOW','ROLE','employee'),
|
(18,'State','*','READ','ALLOW','ROLE','employee'),dbVersion
|
||||||
(20,'TicketState','*','*','ALLOW','ROLE','employee'),
|
(20,'TicketState','*','*','ALLOW','ROLE','employee'),
|
||||||
(24,'Delivery','*','READ','ALLOW','ROLE','employee'),
|
(24,'Delivery','*','READ','ALLOW','ROLE','employee'),
|
||||||
(25,'Zone','*','READ','ALLOW','ROLE','employee'),
|
(25,'Zone','*','READ','ALLOW','ROLE','employee'),
|
||||||
|
|
|
@ -77,6 +77,11 @@
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "Ticket",
|
"model": "Ticket",
|
||||||
"foreignKey": "ticketFk"
|
"foreignKey": "ticketFk"
|
||||||
|
},
|
||||||
|
"claimDms": {
|
||||||
|
"type": "hasMany",
|
||||||
|
"model": "ClaimDms",
|
||||||
|
"foreignKey": "claimFk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue