[NGRAMS-TABLE] use float8

parent a50750c3
......@@ -140,7 +140,7 @@ runNodeNgramsNgrams q ngs = map (\(PGS.Only a) -> a) <$> runPGSQuery q (PGS.Only
where
ngs' = map (\(n,ng1,ng2,w) -> (n,ng1,ng2,maybe 0 identity w)) ngs
fields = map (\t -> QualifiedIdentifier Nothing t)
["int4","text","text","real"]
["int4","text","text","float8"]
--------------------------------------------------------------------
-- TODO: on conflict update weight
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment