diff --git a/packages/plugins/workflow/src/server/extensions/assignees/collections/users_jobs.ts b/packages/plugins/workflow/src/server/extensions/assignees/collections/users_jobs.ts index ff28a6a4f..26b0811c3 100644 --- a/packages/plugins/workflow/src/server/extensions/assignees/collections/users_jobs.ts +++ b/packages/plugins/workflow/src/server/extensions/assignees/collections/users_jobs.ts @@ -9,6 +9,16 @@ export default { primaryKey: true, autoIncrement: true }, + { + type: 'integer', + name: 'userId', + primaryKey: false, + }, + { + type: 'integer', + name: 'jobId', + primaryKey: false, + }, { type: 'belongsTo', name: 'job'