fix \n meh
This commit is contained in:
parent
30a8cdaf9f
commit
c79801340b
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
|
module Q = struct
|
||||||
let create_user_table =
|
let create_user_table =
|
||||||
Caqti_request.exec Caqti_type.unit
|
Caqti_request.exec Caqti_type.unit
|
||||||
{|
|
"CREATE TABLE IF NOT EXISTS user (nick TEXT, password TEXT, email TEXT, \
|
||||||
CREATE TABLE IF NOT EXISTS user (
|
bio TEXT, avatar BLOB);"
|
||||||
nick TEXT,
|
|
||||||
password TEXT,
|
|
||||||
email TEXT,
|
|
||||||
bio TEXT,
|
|
||||||
avatar BLOB
|
|
||||||
);
|
|
||||||
|}
|
|
||||||
|
|
||||||
let get_password =
|
let get_password =
|
||||||
Caqti_request.find_opt Caqti_type.string Caqti_type.string
|
Caqti_request.find_opt Caqti_type.string Caqti_type.string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue