From 927d619611783031a1d0e6c9f2faaa9c1c27e99e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 12 2018 14:26:20 +0000 Subject: Fix the alembic migration creating the hook_mirror table Apparently that migration was missing three fields Signed-off-by: Pierre-Yves Chibon --- diff --git a/alembic/versions/ba538b2648b7_create_hook_mirror_table.py b/alembic/versions/ba538b2648b7_create_hook_mirror_table.py index 0897092..b9c3835 100644 --- a/alembic/versions/ba538b2648b7_create_hook_mirror_table.py +++ b/alembic/versions/ba538b2648b7_create_hook_mirror_table.py @@ -37,6 +37,21 @@ def upgrade(): sa.Boolean, nullable=False, default=False + ), + sa.Column( + 'public_key', + sa.Text, + nullable=True + ), + sa.Column( + 'target', + sa.Text, + nullable=True + ), + sa.Column( + 'last_log', + sa.Text, + nullable=True ) )