'Twas brillig, and Felix Schwarz at 03/09/09 09:25 did gyre and gimble: > Hi, > > currently you can save a ticket only once per second due to the db > schema (ticket_changes for example has a compound primary key '(ticket, > time, field)'). > > More and more people getting problems with that in different situations > (e.g. commit hooks, unit tests, ...) so I think it would be good to > change it. > > Obviously this would be a quite radical change so nothing to be done > lightly. However before even attempting to change stuff I would like to > know from some 'core devs' if would actually consider integrating such a > change...
Certainly for comments this is a big +1. I have several plugins that like to add comments automatically to tickets and I've been tripped up more than once by this primary key. In order to make this work I usually add or subtract a second or two from the time but this is a big ugly hack. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
