fix \n meh
This commit is contained in:
parent
2c7046b919
commit
4bf9cdfc8e
1 changed files with 2 additions and 9 deletions
11
src/user.ml
11
src/user.ml
|
|
@ -9,15 +9,8 @@ type t =
|
|||
module Q = struct
|
||||
let create_user_table =
|
||||
Caqti_request.exec Caqti_type.unit
|
||||
{|
|
||||
CREATE TABLE IF NOT EXISTS user (
|
||||
nick TEXT,
|
||||
password TEXT,
|
||||
email TEXT,
|
||||
bio TEXT,
|
||||
avatar BLOB
|
||||
);
|
||||
|}
|
||||
"CREATE TABLE IF NOT EXISTS user (nick TEXT, password TEXT, email TEXT, \
|
||||
bio TEXT, avatar BLOB);"
|
||||
|
||||
let get_password =
|
||||
Caqti_request.find_opt Caqti_type.string Caqti_type.string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue