fix migration, password_hash and salt are blobs
This commit is contained in:
parent
5cece213c2
commit
f5d6475d2d
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ let nologin_user =
|
||||||
Caqti_request.exec
|
Caqti_request.exec
|
||||||
Caqti_type.unit
|
Caqti_type.unit
|
||||||
"INSERT INTO user (username, password_hash, password_salt, scrypt_n, scrypt_r, scrypt_p, restricted) \
|
"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 =
|
let remove_nologin_user =
|
||||||
Caqti_request.exec
|
Caqti_request.exec
|
||||||
|
|
Loading…
Reference in a new issue