"""Add 'tos_approved_at' to User.

Revision ID: 7f3f1a931278
Revises: <PASSWORD>
Create Date: 2017-11-29 14:42:23.349903

"""

from __future__ import absolute_import, division, print_function, unicode_literals

import sqlalchemy as sa
from alembic import op

# Revision identifiers, used by Alembic.
revision = '7f3f1a931278'
down_revision = '<PASSWORD>'
branch_labels = None
depends_on = None


def upgrade():
    """Add 'users.tos_approved_at' column."""
    with op.batch_alter_table('users', schema=None) as batch_op:
        batch_op.add_column(sa.Column('tos_approved_at', sa.DateTime(), nullable=True))


def downgrade():
    """Drop 'users.tos_approved_at' column."""
    with op.batch_alter_table('users', schema=None) as batch_op:
        batch_op.drop_column('tos_approved_at')

"""Add 'tos_approved_at' to User.

Revision ID: 7f3f1a931278
Revises: <PASSWORD>
Create Date: 2017-11-29 14:42:23.349903

"""

from __future__ import absolute_import, division, print_function, unicode_literals

import sqlalchemy as sa
from alembic import op

# Revision identifiers, used by Alembic.
revision = '7f3f1a931278'
down_revision = '<PASSWORD>'
branch_labels = None
depends_on = None


def upgrade():
    """Add 'users.tos_approved_at' column."""
    with op.batch_alter_table('users', schema=None) as batch_op:
        batch_op.add_column(sa.Column('tos_approved_at', sa.DateTime(), nullable=True))


def downgrade():
    """Drop 'users.tos_approved_at' column."""
    with op.batch_alter_table('users', schema=None) as batch_op:
        batch_op.drop_column('tos_approved_at')

Add 'tos_approved_at' to User.  Revision ID: 7f3f1a931278 Revises: <PASSWORD> Create Date: 2017-11-29 14:42:23.349903 # Revision identifiers, used by Alembic. Add 'users.tos_approved_at' column. Drop 'users.tos_approved_at' column.