Roundup Tracker - Issues

Message7687

Author schlatterbeck
Recipients rouilj, schlatterbeck
Date 2022-11-26.09:47:38
Message-id <1669456058.85.0.139931499643.issue2551245@roundup.psfhosted.org>
In-reply-to
Currently roundup decides to produce indexes automatically. In some cases it makes sense that the user can specify indexes for some tables.

Proposed is the following parameter to the property definition that requests an index (proposed by John P. Rouillard):

 propname = String(addindex=True)

e.g.
msg = FileClass(db, "msg", ..., messageid=String(addindex=True), ...)

The implementation could check if all indexes exist and create missing ones if needed. Note that we do not want to remove unexpected indexes: The user might have added additional indexes by hand.
History
Date User Action Args
2022-11-26 09:47:38schlatterbecksetrecipients: + schlatterbeck, rouilj
2022-11-26 09:47:38schlatterbecksetmessageid: <1669456058.85.0.139931499643.issue2551245@roundup.psfhosted.org>
2022-11-26 09:47:38schlatterbecklinkissue2551245 messages
2022-11-26 09:47:38schlatterbeckcreate