"""empty message Revision ID: 5bdb53d5de37 Revises: 56ec2b819bd8 Create Date: 2018-05-03 09:48:10.275137 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '5bdb53d5de37' down_revision = '56ec2b819bd8' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.create_table('roles', sa.Column('id', sa.Integer(), nullable=False), sa.Column('display_name', sa.String(), nullable=True), sa.PrimaryKeyConstraint('id') ) op.create_table('accounts', sa.Column('id', sa.Integer(), nullable=False), sa.Column('username', sa.String(), nullable=True), sa.Column('password', sa.String(), nullable=True), sa.Column('role_id', sa.Integer(), nullable=True), sa.ForeignKeyConstraint(['role_id'], ['roles.id'], ), sa.PrimaryKeyConstraint('id') ) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_table('accounts') op.drop_table('roles') # ### end Alembic commands ###