-- Add user_id column to clients and cases tables
ALTER TABLE clients ADD COLUMN IF NOT EXISTS user_id INTEGER;
CREATE INDEX IF NOT EXISTS clients_user_idx ON clients(user_id);
ALTER TABLE cases ADD COLUMN IF NOT EXISTS user_id INTEGER;
CREATE INDEX IF NOT EXISTS cases_user_idx ON cases(user_id);
