From 38c78a6bd8e7fb0b021952a5f2f60d780624028f Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Thu, 24 Oct 2024 11:10:16 +0200 Subject: [PATCH] Add retry value to testingfarmresult enum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nikola Forró --- ...d4cbfa33_add_retry_to_testingfarmresult.py | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 alembic/versions/2e5ad4cbfa33_add_retry_to_testingfarmresult.py diff --git a/alembic/versions/2e5ad4cbfa33_add_retry_to_testingfarmresult.py b/alembic/versions/2e5ad4cbfa33_add_retry_to_testingfarmresult.py new file mode 100644 index 000000000..e4b47e360 --- /dev/null +++ b/alembic/versions/2e5ad4cbfa33_add_retry_to_testingfarmresult.py @@ -0,0 +1,28 @@ +"""Add retry to TestingFarmResult + +Revision ID: 2e5ad4cbfa33 +Revises: adb6be5bc358 +Create Date: 2024-10-24 08:58:42.357987 + +""" + +from alembic import op + +# revision identifiers, used by Alembic. +revision = "2e5ad4cbfa33" +down_revision = "adb6be5bc358" +branch_labels = None +depends_on = None + + +def upgrade(): + # ### commands auto generated by Alembic - please adjust! ### + with op.get_context().autocommit_block(): + op.execute("ALTER TYPE testingfarmresult ADD VALUE 'retry'") + # ### end Alembic commands ### + + +def downgrade(): + # ### commands auto generated by Alembic - please adjust! ### + pass + # ### end Alembic commands ###