saurabhnanda / odd-jobs

Haskell job queue with admin UI and loads of other features.
https://www.haskelltutorials.com/odd-jobs/
BSD 3-Clause "New" or "Revised" License
75 stars 29 forks source link

createJobTable fails when the table name has a dot #52

Closed kanagarajkm closed 3 years ago

kanagarajkm commented 4 years ago

When createJobTable is called with a table name which contains a dot for example myschema.jobs, it fails with following error

sqlErrorMsg = "syntax error at or near \".\""

The index creation seems to fail.

create index idx_myschema.jobs_created_at on one.jobs_test3(created_at)