"""create user table

Revision ID: 2cb9ed98e1c
Revises:
Create Date: 2015-06-21 18:47:29.466924

"""

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

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.create_table(
        'user',
        sa.Column('id', sa.Integer, primary_key=True),
        sa.Column('fb_id', sa.BigInteger, nullable=False),
        sa.Column('username', sa.String(50)),
        sa.Column('name', sa.String(80), nullable=False),
        sa.Column('gender', sa.String(10)),
        sa.Column('birthday', sa.Date()),
    )


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

5c7f670cc9b5b2d9dd91ec8f694c16ba680d6ec4
<mask token>


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

<mask token>


def upgrade():
    op.create_table('user', sa.Column('id', sa.Integer, primary_key=True),
        sa.Column('fb_id', sa.BigInteger, nullable=False), sa.Column(
        'username', sa.String(50)), sa.Column('name', sa.String(80),
        nullable=False), sa.Column('gender', sa.String(10)), sa.Column(
        'birthday', sa.Date()))


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

<mask token>
revision = '2cb9ed98e1c'
down_revision = None
branch_labels = None
depends_on = None
<mask token>


def upgrade():
    op.create_table('user', sa.Column('id', sa.Integer, primary_key=True),
        sa.Column('fb_id', sa.BigInteger, nullable=False), sa.Column(
        'username', sa.String(50)), sa.Column('name', sa.String(80),
        nullable=False), sa.Column('gender', sa.String(10)), sa.Column(
        'birthday', sa.Date()))


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

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


def upgrade():
    op.create_table('user', sa.Column('id', sa.Integer, primary_key=True),
        sa.Column('fb_id', sa.BigInteger, nullable=False), sa.Column(
        'username', sa.String(50)), sa.Column('name', sa.String(80),
        nullable=False), sa.Column('gender', sa.String(10)), sa.Column(
        'birthday', sa.Date()))


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

"""create user table

Revision ID: 2cb9ed98e1c
Revises:
Create Date: 2015-06-21 18:47:29.466924

"""

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

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.create_table(
        'user',
        sa.Column('id', sa.Integer, primary_key=True),
        sa.Column('fb_id', sa.BigInteger, nullable=False),
        sa.Column('username', sa.String(50)),
        sa.Column('name', sa.String(80), nullable=False),
        sa.Column('gender', sa.String(10)),
        sa.Column('birthday', sa.Date()),
    )


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