<filename>migrations/versions/544fa615efc3_user_notification_subscriptions.py
"""User notification subscriptions.

Revision ID: <KEY>
Revises: 1db076d08d78
Create Date: 2015-01-21 15:43:52.736862

"""

# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision = '<KEY>'
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa


def upgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column('user', sa.Column('subscribe_bill', sa.Boolean()))
    op.add_column('user', sa.Column('subscribe_call_for_comment', sa.Boolean()))
    op.add_column('user', sa.Column('subscribe_daily_schedule', sa.Boolean()))
    ### end Alembic commands ###


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('user', 'subscribe_daily_schedule')
    op.drop_column('user', 'subscribe_call_for_comment')
    op.drop_column('user', 'subscribe_bill')
    ### end Alembic commands ###

<filename>migrations/versions/544fa615efc3_user_notification_subscriptions.py
"""User notification subscriptions.

Revision ID: <KEY>
Revises: 1db076d08d78
Create Date: 2015-01-21 15:43:52.736862

"""

# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision = '<KEY>'
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa


def upgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column('user', sa.Column('subscribe_bill', sa.Boolean()))
    op.add_column('user', sa.Column('subscribe_call_for_comment', sa.Boolean()))
    op.add_column('user', sa.Column('subscribe_daily_schedule', sa.Boolean()))
    ### end Alembic commands ###


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('user', 'subscribe_daily_schedule')
    op.drop_column('user', 'subscribe_call_for_comment')
    op.drop_column('user', 'subscribe_bill')
    ### end Alembic commands ###

User notification subscriptions.  Revision ID: <KEY> Revises: 1db076d08d78 Create Date: 2015-01-21 15:43:52.736862 # revision identifiers, used by Alembic. ### commands auto generated by Alembic - please adjust! ### ### end Alembic commands ### ### commands auto generated by Alembic - please adjust! ### ### end Alembic commands ###