Delete Brand
Brands
Delete Brand
Delete a Brand and all its child Brand Kits.
Postgres cascades the delete to brand_kits (FK is ON DELETE CASCADE as of m2brand_req_001). However, tasks.brand_kit_id has no ondelete rule, so we must NULL those refs first to avoid FK violations when Postgres attempts the cascade. We still delete kits through the ORM so BrandKit.files cascade fires (removing R2 metadata rows).
DELETE
Delete Brand
Documentation Index
Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt
Use this file to discover all available pages before exploring further.