"""change_url_length

Revision ID: d2780d5aa510
Revises: dce488646127
Create Date: 2016-03-11 09:39:32.593231

"""

# revision identifiers, used by Alembic.
revision = 'd2780d5aa510'
down_revision = 'dce488646127'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.alter_column(
        'ContainerConsumerMetadatum',
        'URL',
        type_=sa.String(length=255)
    )

"""change_url_length

Revision ID: d2780d5aa510
Revises: dce488646127
Create Date: 2016-03-11 09:39:32.593231

"""

# revision identifiers, used by Alembic.
revision = 'd2780d5aa510'
down_revision = 'dce488646127'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.alter_column(
        'container_consumer_metadata',
        'URL',
        type_=sa.String(length=255)
    )

Change Table name to correct name
Change Table name to correct name

The table name is currently wrong in this version and needs to
be changed to the correct name. It is preventing the database
migration script from running correctly.

Closes-Bug: #1562091
Change-Id: I9be88a4385ab58b37be5842aaaefd8353a2f6f76
(cherry picked from commit 2ecc676dd2521c727eb1d720bac6c2533f8337d9)
