Skip to content

Commit 8f7d7cc

Browse files
authored
fix(housekeeping): use correct schema version for astarte keyspace (astarte-platform#1519)
fixes a regression introduced in astarte-platform#1411, where the wrong function was used for setting the schema version for the astarte database Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
1 parent 3227b71 commit 8f7d7cc

File tree

1 file changed

+1
-1
lines changed
  • apps/astarte_housekeeping/lib/astarte_housekeeping/realms

1 file changed

+1
-1
lines changed

apps/astarte_housekeeping/lib/astarte_housekeeping/realms/queries.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ defmodule Astarte.Housekeeping.Realms.Queries do
11081108
kv_store_map = %{
11091109
group: "astarte",
11101110
key: "schema_version",
1111-
value: Migrator.latest_realm_schema_version(),
1111+
value: Migrator.latest_astarte_schema_version(),
11121112
value_type: :big_integer
11131113
}
11141114

0 commit comments

Comments
 (0)