Skip to content

Commit

Permalink
feat(device): add :purge_properties_compression_format capability
Browse files Browse the repository at this point in the history
Adds `:purge_properties_compression_format` to `device` schema

Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
  • Loading branch information
lusergit committed Jan 24, 2025
1 parent 63e10d6 commit 9eccff4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/astarte_data_access/realms/device.ex
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,9 @@ defmodule Astarte.DataAccess.Realms.Device do
field :protocol_revision, :integer
field :total_received_bytes, :integer
field :total_received_msgs, :integer

field :purge_properties_compression_format, Ecto.Enum,
values: [zlib: 0, plaintext: 1],
default: :zlib
end
end

0 comments on commit 9eccff4

Please sign in to comment.