"""empty message Revision ID: d51040631f21 Revises: 74133ba99af7 Create Date: 2022-01-22 23:30:04.372043 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'd51040631f21' down_revision = '74133ba99af7' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.create_table('admin_test', sa.Column('id', sa.Integer(), autoincrement=True, nullable=False, comment='ID'), sa.Column('name', sa.String(length=20), nullable=True, comment='名'), sa.PrimaryKeyConstraint('id') ) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_table('admin_test') # ### end Alembic commands ###