Skip to content

Commit

Permalink
update index to fix ssr loading issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoperator committed Dec 26, 2021
1 parent 7cabe7c commit 1d9772b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/index.js
Expand Up @@ -51,7 +51,7 @@ if (semver.satisfies(sequelizeVersion, '5.x')) {

//// [2] Disable `EXCEPTION` support

const PostgresDialect = require('sequelize/lib/dialects/postgres');
const PostgresDialect = require('sequelize/lib/dialects/postgres/index');
// This prevents, for example, usage of CREATE/REPLACE FUNCTION when using Model.findOrCreate()
PostgresDialect.prototype.supports.EXCEPTION = false;

Expand Down

0 comments on commit 1d9772b

Please sign in to comment.