"""itemreport table Revision ID: b89c21b5112f Revises: 8a2966b9f7ee Create Date: 2022-01-15 19:21:44.544653 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = 'b89c21b5112f' down_revision = '8a2966b9f7ee' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.create_table('item_reports', sa.Column('item', sa.Integer(), nullable=False), sa.Column('count', sa.Integer(), nullable=False), sa.Column('date', sa.Date(), nullable=False), sa.PrimaryKeyConstraint('item', 'date') ) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_table('item_reports') # ### end Alembic commands ###