From 7e780c7743b208c893ab9b68a352ef23a501dfe7 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Wed, 27 Feb 2019 16:18:37 -0500 Subject: [PATCH] Reshuffle the greenwave_failed migration. I accidentally put the migration that adds the greenwave_failed value to the TestGatingStatus enum at the end of the list of migrations on the develop branch. This was problematic when I tried to backport the patch to the 3.13 branch, which does not have the referenced down_revision, which is a migration that will be part of the upcoming 4.0 release. This commit reshuffles the order of migrations so that the new migrations is inserted at the end of the 3.13 branch head, and just before the new migrations in 4.0. Signed-off-by: Randy Barlow --- .../8c4d6aad9b78_add_the_greenwave_failed_enum_to_.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bodhi/server/migrations/versions/8c4d6aad9b78_add_the_greenwave_failed_enum_to_.py b/bodhi/server/migrations/versions/8c4d6aad9b78_add_the_greenwave_failed_enum_to_.py index 4d911e19d5..c2b982dc2c 100644 --- a/bodhi/server/migrations/versions/8c4d6aad9b78_add_the_greenwave_failed_enum_to_.py +++ b/bodhi/server/migrations/versions/8c4d6aad9b78_add_the_greenwave_failed_enum_to_.py @@ -19,7 +19,7 @@ Add the greenwave_failed enum to TestGatingStatus. Revision ID: 8c4d6aad9b78 -Revises: aae0d29d49b7 +Revises: 9991cf10ec50 Create Date: 2019-02-26 22:38:15.420477 """ from alembic import op @@ -28,7 +28,7 @@ # revision identifiers, used by Alembic. revision = '8c4d6aad9b78' -down_revision = 'aae0d29d49b7' +down_revision = '9991cf10ec50' def upgrade():