-
Notifications
You must be signed in to change notification settings - Fork 301
Closed
Description
Bug Reports
Reporting a bug? If relevant, we recommend including:
-
Your OS name and version: Ubuntu 18.04
-
The versions of tools you're using:
λ ~/ stack --version Version 1.9.3, Git revision 40cf7b37526b86d1676da82167ea8758a854953b (6211 commits) x86_64 hpack-0.31.1
-
The versions of dependencies you're using:
resolver: lts-13.3
-
Finally, if possible, please reproduce the error in a small script; we have created a script for each backend with a minimal setup to use for this purpose. These are made with Stack's scripting support and can be run as
./file-name.hs
. Even better, writing a failing test case is tremendously helpful.
Repro script available as a gist here
Output is:
$ ./repro.hs
Migrating: CREATE TABLE "person"("id" INTEGER PRIMARY KEY,"name" VARCHAR NOT NULL)
repro.hs: SQLite3 returned ErrorError while attempting to perform prepare "INSERT INTO \"person\"(\"name\") VALUES (?) ON CONFLICT () DO UPDATE SET \"name\"=EXCLUDED.\"name\"": near ")": syntax error
Metadata
Metadata
Assignees
Labels
No labels