Roundup Tracker - Issues

Message7944

Author rouilj
Recipients rouilj, schlatterbeck
Date 2024-02-19.23:59:34
Message-id <1708387174.56.0.490458972605.issue2551245@roundup.psfhosted.org>
In-reply-to
Should this be a tri-value:

  True - add an index

  Unique - add an index with a unique constraint (issue 2551113)

  False - default don't add an index on the column

How should this look at the calling level? Strings "true", "unique" "false" isn't clean.
It allows misspelling compared to boolean True/False values enforced by the interpreter.
Maybe some type of enumeration (maybe python 3 only??) the interpreter can catch?
History
Date User Action Args
2024-02-19 23:59:34rouiljsetmessageid: <1708387174.56.0.490458972605.issue2551245@roundup.psfhosted.org>
2024-02-19 23:59:34rouiljsetrecipients: + rouilj, schlatterbeck
2024-02-19 23:59:34rouiljlinkissue2551245 messages
2024-02-19 23:59:34rouiljcreate