-- Migration: Add session tracking to validaciones
-- Purpose: Track validations by user session for multi-user support
-- Date: 2026-01-10

ALTER TABLE validaciones 
ADD COLUMN session_id VARCHAR(64) NULL AFTER id,
ADD INDEX idx_session (session_id);

-- Optional: Add user_id for future authentication
ALTER TABLE validaciones 
ADD COLUMN user_id INT NULL AFTER session_id;
