"""Remove resource column from slots

Revision ID: 412efb4b1c45
Revises: <PASSWORD>
Create Date: 2014-06-18 09:32:58.121394

"""

# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision = '<PASSWORD>'

from alembic import op
import sqlalchemy as sa


def upgrade():
    tables = ('slot_requests',
              'repeating_slot_requests')
    for table in tables:
        op.drop_column(table, 'resource_id')


def downgrade():
    raise NotImplementedError('This application does not support downgrades.')

"""Remove resource column from slots

Revision ID: 412efb4b1c45
Revises: <PASSWORD>
Create Date: 2014-06-18 09:32:58.121394

"""

# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision = '<PASSWORD>'

from alembic import op
import sqlalchemy as sa


def upgrade():
    tables = ('slot_requests',
              'repeating_slot_requests')
    for table in tables:
        op.drop_column(table, 'resource_id')


def downgrade():
    raise NotImplementedError('This application does not support downgrades.')

Remove resource column from slots  Revision ID: 412efb4b1c45 Revises: <PASSWORD> Create Date: 2014-06-18 09:32:58.121394 # revision identifiers, used by Alembic.