#2824 Add migration to fix the project_from_id foreign key in pull_requests
Merged by pingou. Opened by pingou.
alembic_mig  into  master

Download 2824.patch

This way, if the project the PR originates from is deleted, the PR
remains and remains open.

Fixes https://pagure.io/pagure/issue/2729

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

This shouldn't work :D
space after dot

same as below

Good catch, thanks

rebased onto ffd53ab984020af4c6cc3bcdc1d87c958d27843e

https://pagure.io/pagure/blob/master/f/pagure/lib/model.py#_1721 this should be updated, no?

It already is, you're looking too low: https://pagure.io/pagure/blob/master/f/pagure/lib/model.py#_1641 :)

:thumbsup:

Thanks :)

Pull-Request has been merged by pingou

Metadata