Skip to content

Commit

Permalink
CA-397599 XSI-1704 update schema hash
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Lindig <[email protected]>
  • Loading branch information
Christian Lindig authored and lindig committed Sep 16, 2024
1 parent ada0dc7 commit cd1a2dc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ocaml/idl/schematest.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ let hash x = Digest.string x |> Digest.to_hex
(* BEWARE: if this changes, check that schema has been bumped accordingly in
ocaml/idl/datamodel_common.ml, usually schema_minor_vsn *)

let last_known_schema_hash = "428caff23cdb969c59a9960beefd7bb6"
let last_known_schema_hash = "60590fa3fa2f8af66d9bf3c50b7bacc2"

let current_schema_hash : string =
let open Datamodel_types in
Expand All @@ -19,11 +19,10 @@ let () =
if last_known_schema_hash <> current_schema_hash then (
Printf.eprintf
{|

New schema hash ('%s') doesn't match the last known one. Please bump the
datamodel schema versions if necessary, and update 'last_known_schema_hash'.

datamodel schema versions if necessary, and update 'last_known_schema_hash'
in file %s.
|}
current_schema_hash ;
current_schema_hash __FILE__ ;
exit 1
)

0 comments on commit cd1a2dc

Please sign in to comment.