#100 Mark explicitely that fedora and epel assignee can be null
Merged 5 years ago by pingou. Opened 5 years ago by pingou.

file modified
+2 -2
@@ -74,8 +74,8 @@ 

          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",

This solves the problem of database complaining if we are resetting
the values of these fields.

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

I believe this should solve the issue that https://pagure.io/pagure-dist-git/pull-request/95 tries to address.

Thanks for the review! :)

Pull-Request has been merged by pingou

5 years ago
Metadata