"""empty message

Revision ID: 834ae8892e7a
Revises: 68cd610d5c23
Create Date: 2020-06-09 12:18:18.060992

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '834ae8892e7a'
down_revision = '68cd610d5c23'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('interpreters',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('userId', sa.Integer(), nullable=True),
    sa.Column('headline', sa.String(length=150), nullable=True),
    sa.Column('native_language', sa.String(length=150), nullable=True),
    sa.Column('target_languages', sa.Text(), nullable=False),
    sa.Column('years_of_experience', sa.Integer(), nullable=False),
    sa.Column('education', sa.String(length=150), nullable=True),
    sa.Column('field_of_expertise', sa.Text(), nullable=True),
    sa.Column('certifications', sa.Text(), nullable=True),
    sa.Column('interpreting_service', sa.Text(), nullable=True),
    sa.ForeignKeyConstraint(['userId'], ['users.id'], ),
    sa.PrimaryKeyConstraint('id')
    )
    # ### end Alembic commands ###


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