def METHOD_NAME() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint(
        op.f("fk_schedule_most_recent_task_id_task"), "schedule", type_="foreignkey"
    )
    op.drop_index(op.f("ix_worker_name"), table_name="worker")
    op.create_unique_constraint("uq_worker_name", "worker", ["name"])
    op.drop_table("schedule_duration")
    op.drop_table("task")
    op.drop_table("requested_task")
    op.drop_index(op.f("ix_schedule_name"), table_name="schedule")
    op.drop_table("schedule")
    # ### end Alembic commands ###