refs #4815 feat: add serialNumber in deviceLog
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
b615062c09
commit
cf36b10763
|
@ -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
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
},
|
||||
"deviceProductionFk": {
|
||||
"type": "number"
|
||||
},
|
||||
"serialNumber": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"relations": {
|
||||
|
|
Loading…
Reference in New Issue