-- Allow admin-created tickets with no linked user
ALTER TABLE support_tickets
    ALTER COLUMN user_id DROP NOT NULL;

-- Add description body and requester info for admin-created cases
ALTER TABLE support_tickets
    ADD COLUMN IF NOT EXISTS description TEXT,
    ADD COLUMN IF NOT EXISTS requester_name VARCHAR(255),
    ADD COLUMN IF NOT EXISTS requester_email VARCHAR(255);
