Skip to content

Commit 87e858f

Browse files
committed
Add missing is_encrypted field.
1 parent f4b4ef4 commit 87e858f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1952,6 +1952,7 @@ func migrateDeviceQueueFn(tx *sqlx.Tx, devEUIs [][]byte, appSKeys map[lorawan.EU
19521952
"is_pending",
19531953
"f_cnt_down",
19541954
"timeout_after",
1955+
"is_encrypted",
19551956
))
19561957
if err != nil {
19571958
log.Fatal("Prepare device-queue-item statement error", err)
@@ -1979,6 +1980,7 @@ func migrateDeviceQueueFn(tx *sqlx.Tx, devEUIs [][]byte, appSKeys map[lorawan.EU
19791980
qi.IsPending,
19801981
qi.FCnt,
19811982
qi.TimeoutAfter,
1983+
false,
19821984
)
19831985
if err != nil {
19841986
log.Fatal("Execute device-queue-item statement error", err)

0 commit comments

Comments
 (0)