This commit is contained in:
parent
856ff1df5e
commit
93359951fd
1 changed files with 4 additions and 2 deletions
|
|
@ -1,10 +1,12 @@
|
||||||
|
(* TODO
|
||||||
|
how to fix postgres/caqti tuple type?
|
||||||
|
need to add boilerplate in each query for amounts *)
|
||||||
|
|
||||||
open Crypto
|
open Crypto
|
||||||
|
|
||||||
module Caqti_type = struct
|
module Caqti_type = struct
|
||||||
include Caqti_type
|
include Caqti_type
|
||||||
|
|
||||||
(* TODO add a dune stanza like for prelude:
|
|
||||||
"(flags (:standard -open Prelude))" *)
|
|
||||||
(* we want to use int64 timestamps,
|
(* we want to use int64 timestamps,
|
||||||
not postgresql built-in timestamp type *)
|
not postgresql built-in timestamp type *)
|
||||||
let ptime : Ptime.t option t = Timestamp.caqti
|
let ptime : Ptime.t option t = Timestamp.caqti
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue