Database consistency issues

Konstantin Ryabitsev konstantin at linuxfoundation.org
Thu Aug 9 02:27:54 AEST 2018


On Thu, Aug 09, 2018 at 02:01:11AM +1000, Daniel Axtens wrote:
>In the case of Patchwork 1.1.3, I am more confused - the Comment model
>has a foreign key to Patch here. So if you try to delete Patch you
>should have got a referential integrity error like I did with
>e.g. Events. (Patchwork pre 2.0 is a pain to test as it uses Vagrant
>VMs, which use VirtualBox by default, which breaks SecureBoot, so I'm
>not going to try to get it going tonight.)
>
>Was there anything you deleted after or during the migration?

Daniel:

Hmm... Well, the migration was a bit hairy, so it's possible something 
did get missed. We migrated from 1.0, though, not from 1.1.3, so it's 
possible something got missed? If it helps, I can send the database 
schema that we currently have.

Best,
-K
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/patchwork/attachments/20180808/c258fdd8/attachment-0001.sig>


More information about the Patchwork mailing list