<gh_stars>0
"""Opt-in email users column

Revision ID: <KEY>
Revises: <KEY>
Create Date: 2018-01-24 12:47:06.418723

"""
from alembic import op
import sqlalchemy as sa

import lifeloopweb.db.models
from sqlalchemy.dialects import mysql
from sqlalchemy import Boolean

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


def upgrade():
    op.add_column('users', sa.Column('opt_in_emails', sa.Boolean(), nullable=False))


def downgrade():
    print("Downgrades not supported")

"""Opt-in email users column

Revision ID: <KEY>
Revises: <KEY>
Create Date: 2018-01-24 12:47:06.418723

"""
from alembic import op
import sqlalchemy as sa

import lifeloopweb.db.models
from sqlalchemy.dialects import mysql
from sqlalchemy import Boolean

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


def upgrade():
    op.add_column('users', sa.Column('opt_in_emails', sa.Boolean(), nullable=False))


def downgrade():
    print("Downgrades not supported")
Opt-in email users column  Revision ID: <KEY> Revises: <KEY> Create Date: 2018-01-24 12:47:06.418723 # revision identifiers, used by Alembic.