Skip to content

Commit

Permalink
operation_mode boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
madninja committed Jun 15, 2022
1 parent 88e275b commit 3d1abc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion migrations/3_cell_heartbeat.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ create table cell_heartbeat (
timestamp timestamptz not null,
lon float,
lat float,
operation_mode text,
operation_mode boolean,
cbsd_category text,

created_at timestamptz default now()
Expand Down
2 changes: 1 addition & 1 deletion src/heartbeat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub struct CellHeartbeat {
pub lon: f64,
#[serde(alias = "latitude")]
pub lat: f64,
pub operation_mode: String,
pub operation_mode: bool,
pub cbsd_category: String,

#[serde(skip_deserializing)]
Expand Down

0 comments on commit 3d1abc8

Please sign in to comment.