refs #4815 feat: add serialNumber in deviceLog
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-09-22 14:29:48 +02:00
parent b615062c09
commit cf36b10763
2 changed files with 5145 additions and 5141 deletions

View File

@ -26556,6 +26556,7 @@ CREATE TABLE `deviceLog` (
`created` timestamp NOT NULL DEFAULT current_timestamp(),
`nameApp` varchar(45) DEFAULT NULL,
`versionApp` varchar(45) DEFAULT NULL,
`serialNumber` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `deviceLog_FK` (`userFk`),
CONSTRAINT `deviceLog_FK` FOREIGN KEY (`userFk`) REFERENCES `worker` (`id`) ON UPDATE CASCADE

View File

@ -28,6 +28,9 @@
},
"deviceProductionFk": {
"type": "number"
},
"serialNumber": {
"type": "string"
}
},
"relations": {