CREATE TABLE IF NOT EXISTS aria_memory (id uuid DEFAULT gen_random_uuid() PRIMARY KEY, user_id uuid REFERENCES auth.users NOT NULL, category text, key text, value text, confidence float, source text, updated_at timestamptz, UNIQUE(user_id, category, key));