79688852

Date: 2025-07-03 12:30:17
Score: 1.5
Natty:
Report link

In DB for these values write NULL and in uk write NULLS NOT DISTINCT:

ALTER TABLE FOO ADD CONSTRAINT uk_foo 
    UNIQUE NULLS NOT DISTINCT (parent_id , super_parent_id);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Svitlana Kizilpinar