Wasn't checking if the tables existed before trying to create them.
Attach a file by drag & drop or click to upload