Skip to content

Commit 070d1ef

Browse files
committed
Update to ChirpStack v4.3.0 db schema.
1 parent 7af549f commit 070d1ef

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

main.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,9 @@ func migrateOrganizations() {
299299
can_have_gateways,
300300
max_device_count,
301301
max_gateway_count,
302-
private_gateways
303-
) values ($1, $2, $3, $4, $5, $6, $7, $8, $9)
302+
private_gateways_up,
303+
private_gateways_down
304+
) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
304305
on conflict do nothing`,
305306
intToUUID(org.ID),
306307
org.CreatedAt,
@@ -311,6 +312,7 @@ func migrateOrganizations() {
311312
org.MaxDeviceCount,
312313
org.MaxGatewayCount,
313314
false,
315+
false,
314316
)
315317
if err != nil {
316318
panic(err)

0 commit comments

Comments
 (0)