nielsgl/sequelize-paper-trail

relation "revisions" does not exist

blanchma opened this issue · 1 comments

I'm getting relation "revisions" does not exist with version 2.6.1

'INSERT INTO "revisions" ("id","model","document","operation","document_id","revision","created_at","updated_at") VALUES (DEFAULT,\'User\',\'{"last_email_validation_at":"2017-07-11T20:27:30.778Z","should_update_password":false,"login_attemps":0,"terms_n_conditions_accepted_at":"2018-03-28T14:38:59.976Z","email":"someone1@avi-on.com","password":"483483a29358524790249a3d219c4377","enabled":true,"first_name":"Count Dooku","last_name":"Evildoer","marketing_emails":true,"app_version":null,"last_sign_in_at":null,"phone_number":null,"latest_version":"0.0.0","reset_password_token":null,"reset_password_expires":null,"confirmation_token":null,"confirmed_at":null,"last_phone_verification_at":"2017-07-11T20:27:33.572Z","opt_in":false,"sms_authentication":true,"source_app":null,"disabled_at":null,"modified_at":null}\',\'create\',1,1,\'2019-05-02 18:39:04.060 +00:00\',\'2019-05-02 18:39:04.060 +00:00\') RETURNING *;' },
  original:
   { Error: ERROR:  relation "revisions" does not exist```

Can you try it with version 3.0.0-rc.6 if you're using Sequelize v4 or 3.0.0-rc.7 when using Sequelize v5?