diff --git a/main.go b/main.go index e5c83da..782c0cb 100644 --- a/main.go +++ b/main.go @@ -299,8 +299,9 @@ func migrateOrganizations() { can_have_gateways, max_device_count, max_gateway_count, - private_gateways - ) values ($1, $2, $3, $4, $5, $6, $7, $8, $9) + private_gateways_up, + private_gateways_down + ) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) on conflict do nothing`, intToUUID(org.ID), org.CreatedAt, @@ -311,6 +312,7 @@ func migrateOrganizations() { org.MaxDeviceCount, org.MaxGatewayCount, false, + false, ) if err != nil { panic(err)