```The change you are trying to make would violate...
# prisma-client
u
Copy code
The change you are trying to make would violate the required relation 'threadTouser' between the `thread` and `user` models.
2
a
Hi @李白字一日 👋🏾 Could you share a little more context to your question such as your schema, the command you'd like to run and the expected response?
u
I added some constrain so that i can easily join on select
solved.
👌 1
Copy code
-  thread_list         thread[]
-  post_list           post[]
-  category            category[]
-  categoryparent      categoryparent[]
i wrongly added these lines
the final resolution is not about what i wrongly added them. but how to delete recoreds.😂
delete the last added item first then these errors disappear