From f5d6475d2dac3d90320865823442fa9bbf70b542 Mon Sep 17 00:00:00 2001 From: Robur Date: Wed, 9 Jun 2021 13:59:04 +0000 Subject: [PATCH] fix migration, password_hash and salt are blobs --- bin/migrations/m20210609.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/migrations/m20210609.ml b/bin/migrations/m20210609.ml index f649c12..0137c62 100644 --- a/bin/migrations/m20210609.ml +++ b/bin/migrations/m20210609.ml @@ -8,7 +8,7 @@ let nologin_user = Caqti_request.exec Caqti_type.unit "INSERT INTO user (username, password_hash, password_salt, scrypt_n, scrypt_r, scrypt_p, restricted) \ - VALUES ('nologin', '', '', 16384, 8, 1, true)" + VALUES ('nologin', x'', x'', 16384, 8, 1, true)" let remove_nologin_user = Caqti_request.exec