mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-13 05:45:41 +08:00
Fix unique constraint in query fetchDevicesDEP
This commit is contained in:
@@ -27,7 +27,7 @@ var (
|
||||
dep_device
|
||||
)
|
||||
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)
|
||||
ON CONFLICT (serial_number)
|
||||
ON CONFLICT (udid, serial_number)
|
||||
DO UPDATE SET
|
||||
model = $2,
|
||||
description = $3,
|
||||
|
||||
Reference in New Issue
Block a user