]> git.ipfire.org Git - thirdparty/patchwork.git/commit
migrations: Resolve issues with other DB backends for 0042, 0043
authorStephen Finucane <stephen@that.guru>
Sun, 26 Apr 2020 13:17:57 +0000 (14:17 +0100)
committerStephen Finucane <stephen@that.guru>
Sun, 26 Apr 2020 15:06:45 +0000 (16:06 +0100)
commitc7d6e18f33146d5564a8be5f4c859113d4c34dbe
tree1135d4381d4f742062ff9ce4088f87934eccc801
parent10b6162807ed76b1b56c0a57c9e55e02e88daad1
migrations: Resolve issues with other DB backends for 0042, 0043

0042 was using MySQL-specific SQL to delete entries in the
'patchwork_comment' table that were associated with entries in the
'patchwork_coverletter' table, while 0043 only considered MySQL and
PostgrSQL when attempting to copy fields from 'patchwork_patch' to
'patchwork_submission'. Both issues are resolved.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/migrations/0042_add_cover_model.py
patchwork/migrations/0043_merge_patch_submission.py