28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
# dune build
|
|
# OCAMLPARAM: unset
|
|
# Shared cache: disabled
|
|
# Shared cache location: /home/simon/.cache/dune/db
|
|
# Workspace root: /home/simon/Documents/metadata_store
|
|
# Auto-detected concurrency: 4
|
|
# Dune context:
|
|
# { name = "default"
|
|
# ; kind = "default"
|
|
# ; profile = Dev
|
|
# ; merlin = true
|
|
# ; fdo_target_exe = None
|
|
# ; build_dir = In_build_dir "default"
|
|
# ; instrument_with = []
|
|
# }
|
|
$ /usr/bin/ocamlc.opt -config > /tmp/dune_45b47b_output
|
|
$ (cd _build/.sandbox/0ad8d6c85f98cad7a074d690c83848a3/default && .ppx/e047dd045732eb45a5c5aa4a3855a525/ppx.exe --cookie 'library-name="metadata_store"' -o lib/init.pp.ml --impl lib/init.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast)
|
|
> File "lib/init.ml", lines 77-83, characters 4-7:
|
|
> 77 | ....[%pgsql dbh "execute" "CREATE TABLE IF NOT EXISTS Databases (
|
|
> 78 | id SERIAL PRIMARY KEY,
|
|
> 79 | name VARCHAR(255) NOT NULL,
|
|
> 80 | description TEXT,
|
|
> 81 | created_at TIMESTAMP DEFAULT NOW(),
|
|
> 82 | updated_at TIMESTAMP DEFAULT NOW()
|
|
> 83 | )"]
|
|
> Error: PG'OCaml PPX error: Could not make the connection host=unix, port=5432, user=simon, password=*****, database=simon, error: PGOCaml_generic.Make(Thread).Error("PGOCaml: Could not connect to database")
|
|
[1]
|