79546888

Date: 2025-03-31 17:33:11
Score: 3.5
Natty:
Report link

I have found finally the answer. Its here in another post.

How to declare self-referencing foreign key with Drizzle ORM

I was self referencing categories table with parentCategoryId

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: StykPohlavsson