From ca7b0a2e6166dc19e9635ac9fba73c90ec0a2093 Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Tue, 25 Mar 2025 11:31:12 +0000 Subject: [PATCH] Fix sqlite migration typo. --- .../2025-01-27-100007_add_fuota_support/up.sql | 2 +- chirpstack/src/storage/schema_sqlite.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chirpstack/migrations_sqlite/2025-01-27-100007_add_fuota_support/up.sql b/chirpstack/migrations_sqlite/2025-01-27-100007_add_fuota_support/up.sql index a3cc2e5f..f7f25b17 100644 --- a/chirpstack/migrations_sqlite/2025-01-27-100007_add_fuota_support/up.sql +++ b/chirpstack/migrations_sqlite/2025-01-27-100007_add_fuota_support/up.sql @@ -72,4 +72,4 @@ alter table device_keys add column gen_app_key blob not null default x'00000000000000000000000000000000'; alter table device - add column all_layer_params text not null default '{}'; + add column app_layer_params text not null default '{}'; diff --git a/chirpstack/src/storage/schema_sqlite.rs b/chirpstack/src/storage/schema_sqlite.rs index 96c8f6e7..2022b714 100644 --- a/chirpstack/src/storage/schema_sqlite.rs +++ b/chirpstack/src/storage/schema_sqlite.rs @@ -60,7 +60,7 @@ diesel::table! { join_eui -> Binary, secondary_dev_addr -> Nullable, device_session -> Nullable, - all_layer_params -> Text, + app_layer_params -> Text, } }