Closed shawn-bachlet closed 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.
CREATE TABLE IF NOT EXISTS
CREATE TABLE
@shawn-bachlet fixed on the master branch.
master
Using
CREATE TABLE IF NOT EXISTS
here https://github.com/saurabhnanda/odd-jobs/blob/0236697e649053f3f36271000cdeb247e2295d58/src/OddJobs/Migrations.hs#L13 instead ofCREATE TABLE
will stop this function from failing if the table already exists.