repair_order = dj.create_dimension(
    name=f"{namespace}.repair_order",
    display_name="Default: Repair Order",
    description="""Repair order dimension""",
    mode="published",
    primary_key=[
        "repair_order_id",
    ],
    tags=[],
    query=f"""SELECT  repair_order_id,
	municipality_id,
	hard_hat_id,
	order_date,
	required_date,
	dispatched_date,
	dispatcher_id
 FROM {namespace}.repair_orders""",
    update_if_exists=True,
)
