Tryton - Issues



Title Ensure uniqueness of toplevel category name
Priority feature Status resolved
Superseder UNIQUE on postgres not working on empty values
View: 1422
Nosy List ced, reviewbot, roundup-bot
Type behavior Components party
Assigned To ced Keywords review
Reviews 35981002
View: 35981002

Created on 2018-02-27.19:37:10 by ced, last changed by roundup-bot.

New changeset c1cbf8dfdb63 by C├ędric Krier in branch 'default':
Replace unique by exclude constraint on category name
review35981002 updated at
msg38653 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-02-27.19:37:10
As NULL value is always different for the UNIQUE constraint, we must use an EXCLUDE constraint with a COALESCE for when the parent is NULL.
Date User Action Args
2018-03-19 17:17:07roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg39099
2018-02-27 19:50:02reviewbotsetnosy: + reviewbot
messages: + msg38656
2018-02-27 19:42:20cedsetstatus: in-progress -> testing
reviews: 35981002
keyword: + review
2018-02-27 19:37:10cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)