-- Lab grades: one grade per student per lab. CREATE TABLE lab_grades ( student_id uuid NOT NULL, lab_id uuid NOT NULL, score numeric(4,1) NOT NULL, updated_at timestamptz NOT NULL DEFAULT now(), PRIMARY KEY (student_id, lab_id) );