"""empty message

Revision ID: 1caf86f62044
Revises: None
Create Date: 2015-11-23 00:14:06.902549

"""

# revision identifiers, used by Alembic.
revision = '1caf86f62044'
down_revision = None

from alembic import op
import sqlalchemy as sa


def upgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.create_table('companies',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('ticker', sa.String(length=5), nullable=True),
    sa.Column('company_name', sa.String(length=120), nullable=True),
    sa.PrimaryKeyConstraint('id'),
    sa.UniqueConstraint('company_name'),
    sa.UniqueConstraint('ticker')
    )
    ### end Alembic commands ###


def downgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('companies')
    ### end Alembic commands ###
