[sql] fix constraint generation by associating the match correctly with the list concat
[sql] fix constraint generation by associating the match correctly with the list concat

avsm/ocaml-orm-sqlite,mirage/orm,mirage/dyntype,avsm/ocaml-orm-sqlite,mirage/orm