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

Odd jobs create table fails with exception if table already exists. #66

Closed shawn-bachlet closed 3 years ago

shawn-bachlet commented 3 years ago

Using CREATE TABLE IF NOT EXISTS here https://github.com/saurabhnanda/odd-jobs/blob/0236697e649053f3f36271000cdeb247e2295d58/src/OddJobs/Migrations.hs#L13 instead of CREATE TABLE will stop this function from failing if the table already exists.

saurabhnanda commented 3 years ago

@shawn-bachlet fixed on the master branch.