Opened 3 years ago

Closed 3 years ago

#734 closed defect (fixed)

Typo in constraint name

Reported by: dmisev Owned by: dmisev
Priority: trivial Milestone: 9.0.x
Component: petascope Version: development
Keywords: Cc:
Complexity: Medium


I randomly noticed this "natice_crs_ids_is_not_empty"

# \d ps_domain_set
      Table "public.ps_domain_set"
     Column     |   Type    | Modifiers 
 coverage_id    | integer   | not null
 native_crs_ids | integer[] | not null
    "ps_domain_set_pkey" PRIMARY KEY, btree (coverage_id)
Check constraints:
    "natice_crs_ids_is_not_empty" CHECK (array_lower(native_crs_ids, 1) IS NOT NULL)
    "native_crs_ids_is_1d" CHECK (array_lower(native_crs_ids, 2) IS NULL)
Foreign-key constraints:
    "ps9_domain_set_coverage_id_fkey" FOREIGN KEY (coverage_id) REFERENCES ps_coverage(id) ON DELETE CASCADE

Change History (2)

comment:1 Changed 3 years ago by dmisev

  • Owner changed from pcampalani to dmisev
  • Status changed from new to accepted

patch submitted

comment:2 Changed 3 years ago by dmisev

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.