From 4d967b9bce3db8243f836068c04d39b4bfd479c4 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 05 2020 14:27:54 +0000 Subject: Mark explicitely that fedora and epel assignee can be null This solves the problem of database complaining if we are resetting the values of these fields. Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure_distgit/model.py b/pagure_distgit/model.py index 4655be6..4505341 100644 --- a/pagure_distgit/model.py +++ b/pagure_distgit/model.py @@ -74,8 +74,8 @@ class PagureBZOverride(BASE): index=True, ) - epel_assignee = sa.Column(sa.String(255), unique=False) - fedora_assignee = sa.Column(sa.String(255), unique=False) + epel_assignee = sa.Column(sa.String(255), unique=False, nullable=True) + fedora_assignee = sa.Column(sa.String(255), unique=False, nullable=True) project = relation( "Project",