from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from alembic import op


# revision identifiers, used by Alembic.
revision = '3dbb46f23ed7'
down_revision = u'0087dc1eb534'
branch_labels = None
depends_on = None


def upgrade():
    op.alter_column('pubmed', 'identifiers_list', new_column_name='article_ids')


def downgrade():
    op.alter_column('pubmed', 'article_ids', new_column_name='identifiers_list')

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from alembic import op


# revision identifiers, used by Alembic.
revision = '3dbb46f23ed7'
down_revision = u'b32475938a2d'
branch_labels = None
depends_on = None


def upgrade():
    op.alter_column('pubmed', 'identifiers_list', new_column_name='article_ids')


def downgrade():
    op.alter_column('pubmed', 'article_ids', new_column_name='identifiers_list')

Fix migrations to have a single path
Fix migrations to have a single path

As it took us a while to merge some PRs, the migrations ended branching in two
parts. This commit fixes to use a single path. It shouldn't cause any issues, as
we're only messing with the `down` migrations and the migrations aren't
dependent on each other.

  from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  
  from alembic import op
  
  
  # revision identifiers, used by Alembic.
  revision = '3dbb46f23ed7'
- down_revision = u'0087dc1eb534'
+ down_revision = u'b32475938a2d'
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      op.alter_column('pubmed', 'identifiers_list', new_column_name='article_ids')
  
  
  def downgrade():
      op.alter_column('pubmed', 'article_ids', new_column_name='identifiers_list')
  
Fix migrations to have a single path
## Code Before:
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from alembic import op


# revision identifiers, used by Alembic.
revision = '3dbb46f23ed7'
down_revision = u'0087dc1eb534'
branch_labels = None
depends_on = None


def upgrade():
    op.alter_column('pubmed', 'identifiers_list', new_column_name='article_ids')


def downgrade():
    op.alter_column('pubmed', 'article_ids', new_column_name='identifiers_list')

## Instruction:
Fix migrations to have a single path
## Code After:
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from alembic import op


# revision identifiers, used by Alembic.
revision = '3dbb46f23ed7'
down_revision = u'b32475938a2d'
branch_labels = None
depends_on = None


def upgrade():
    op.alter_column('pubmed', 'identifiers_list', new_column_name='article_ids')


def downgrade():
    op.alter_column('pubmed', 'article_ids', new_column_name='identifiers_list')
