"""Adding times to equipSubAssoc Revision ID: 3e94fecbbe91 Revises: cd5c225b5d2a Create Date: 2023-12-15 09:38:33.931976 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '3e94fecbbe91' down_revision = 'cd5c225b5d2a' branch_labels = None depends_on = None def upgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### with op.batch_alter_table('_equipment_submissions', schema=None) as batch_op: batch_op.add_column(sa.Column('start_time', sa.TIMESTAMP(), nullable=True)) batch_op.add_column(sa.Column('end_time', sa.TIMESTAMP(), nullable=True)) # ### end Alembic commands ### def downgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### with op.batch_alter_table('_equipment_submissions', schema=None) as batch_op: batch_op.drop_column('end_time') batch_op.drop_column('start_time') # ### end Alembic commands ###