From 8c445ecb04282194985fa537dc3c437b32a3e1a0 Mon Sep 17 00:00:00 2001 From: Conrad Hoffmann Date: Mon, 7 Mar 2022 17:40:34 +0100 Subject: [PATCH] Supply missing ENUM type name --- gitsrht/types/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitsrht/types/__init__.py b/gitsrht/types/__init__.py index 6f2d003..87a9075 100644 --- a/gitsrht/types/__init__.py +++ b/gitsrht/types/__init__.py @@ -118,7 +118,7 @@ class Repository(Base): visibility = sa.Column(postgresql.ENUM(RepoVisibility), nullable=False) readme = sa.Column(sa.Unicode) clone_status = sa.Column(postgresql.ENUM( - 'NONE', 'IN_PROGRESS', 'COMPLETE', 'ERROR'), nullable=False) + 'NONE', 'IN_PROGRESS', 'COMPLETE', 'ERROR', name='clone_status'), nullable=False) clone_error = sa.Column(sa.Unicode) @declared_attr -- 2.38.4