"""create user model

Revision ID: e105a217ec6e
Revises: 
Create Date: 2017-11-22 01:08:19.595431

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'e105a217ec6e'
down_revision = None
branch_labels = None
depends_on = None


def upgrade():
    op.create_table(
        'users',
        sa.Column('id', sa.Integer, primary_key=True),
        sa.Column('name', sa.String(50), nullable=False),
        sa.Column('password', sa.String(50), nullable=True)
    )


def downgrade():
    op.drop_table('users')

f3562e56da8c696cb43a9142827c6bae7c1b84d4
<mask token>


def downgrade():
    op.drop_table('users')

<mask token>


def upgrade():
    op.create_table('users', sa.Column('id', sa.Integer, primary_key=True),
        sa.Column('name', sa.String(50), nullable=False), sa.Column(
        'password', sa.String(50), nullable=True))


def downgrade():
    op.drop_table('users')

<mask token>
revision = 'e105a217ec6e'
down_revision = None
branch_labels = None
depends_on = None


def upgrade():
    op.create_table('users', sa.Column('id', sa.Integer, primary_key=True),
        sa.Column('name', sa.String(50), nullable=False), sa.Column(
        'password', sa.String(50), nullable=True))


def downgrade():
    op.drop_table('users')

<mask token>
from alembic import op
import sqlalchemy as sa
revision = 'e105a217ec6e'
down_revision = None
branch_labels = None
depends_on = None


def upgrade():
    op.create_table('users', sa.Column('id', sa.Integer, primary_key=True),
        sa.Column('name', sa.String(50), nullable=False), sa.Column(
        'password', sa.String(50), nullable=True))


def downgrade():
    op.drop_table('users')

"""create user model

Revision ID: e105a217ec6e
Revises: 
Create Date: 2017-11-22 01:08:19.595431

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'e105a217ec6e'
down_revision = None
branch_labels = None
depends_on = None


def upgrade():
    op.create_table(
        'users',
        sa.Column('id', sa.Integer, primary_key=True),
        sa.Column('name', sa.String(50), nullable=False),
        sa.Column('password', sa.String(50), nullable=True)
    )


def downgrade():
    op.drop_table('users')
