-
I have M2M relation between two tables, task and task_invoke via task_invoke_task_id.
I'm trying to use factory to generate task and task's task_invokes. f.NewTask(
factory.TaskMods.AddNewTaskInvokes(2),
).CreateManyOrFail(t.Context(), t, bob.Debug(db), 2) However, in debug log i see only INSERT query for task, and no task invokes inserts.
Am i doing something wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
VRmnv
May 5, 2025
Replies: 1 comment
-
Closing a question. Table should have a PK to be generated via factory. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
stephenafamo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Closing a question. Table should have a PK to be generated via factory.