From ac0d0ce36a813d1e050c197e6e22d66c3e09c463 Mon Sep 17 00:00:00 2001 From: Jake Moshenko Date: Wed, 19 Nov 2014 15:58:47 -0500 Subject: [PATCH] Change the order of migrations to allow migration code to work with the updated model. --- .../versions/17f11e265e13_add_uuid_field_to_user.py | 4 ++-- .../2fb36d4be80d_translate_the_queue_names_to_reference_.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/migrations/versions/17f11e265e13_add_uuid_field_to_user.py b/data/migrations/versions/17f11e265e13_add_uuid_field_to_user.py index 56943ee8e..ba0d545a7 100644 --- a/data/migrations/versions/17f11e265e13_add_uuid_field_to_user.py +++ b/data/migrations/versions/17f11e265e13_add_uuid_field_to_user.py @@ -1,14 +1,14 @@ """add uuid field to user Revision ID: 17f11e265e13 -Revises: 2fb36d4be80d +Revises: 313d297811c4 Create Date: 2014-11-11 14:32:54.866188 """ # revision identifiers, used by Alembic. revision = '17f11e265e13' -down_revision = '2fb36d4be80d' +down_revision = '313d297811c4' from alembic import op import sqlalchemy as sa diff --git a/data/migrations/versions/2fb36d4be80d_translate_the_queue_names_to_reference_.py b/data/migrations/versions/2fb36d4be80d_translate_the_queue_names_to_reference_.py index 76e698471..5d7e2f672 100644 --- a/data/migrations/versions/2fb36d4be80d_translate_the_queue_names_to_reference_.py +++ b/data/migrations/versions/2fb36d4be80d_translate_the_queue_names_to_reference_.py @@ -1,14 +1,14 @@ """Translate the queue names to reference namespace by id, remove the namespace column. Revision ID: 2430f55c41d5 -Revises: 313d297811c4 +Revises: 17f11e265e13 Create Date: 2014-09-30 17:31:33.308490 """ # revision identifiers, used by Alembic. revision = '2fb36d4be80d' -down_revision = '313d297811c4' +down_revision = '17f11e265e13' from alembic import op import sqlalchemy as sa