-- Add commit_sha and blob_hash columns for repo-sourced skills
ALTER TABLE project_skill
    ADD COLUMN IF NOT EXISTS commit_sha VARCHAR(40),
    ADD COLUMN IF NOT EXISTS blob_hash VARCHAR(40);

CREATE INDEX IF NOT EXISTS idx_project_skill_commit_sha ON project_skill (commit_sha);
CREATE INDEX IF NOT EXISTS idx_project_skill_blob_hash ON project_skill (blob_hash);
