We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 075b589 commit a1cc0aaCopy full SHA for a1cc0aa
packages/backends/postgres/src/postgres-backend.ts
@@ -41,7 +41,7 @@ export default class PostgresBackend implements Backend {
41
...job,
42
args: this.knex.raw("?", [JSON.stringify(job.args)]),
43
constructor_args: this.knex.raw("?", [JSON.stringify(job.constructor_args)]),
44
- uniqueness_config: this.knex.raw("?", [JSON.stringify(job.uniqueness_config)]),
+ uniqueness_config: job.uniqueness_config ? this.knex.raw("?", [JSON.stringify(job.uniqueness_config)]) : null,
45
timeout: job.timeout,
46
state: job.state,
47
};
0 commit comments